Jump to content

    

Поселение на ARM ОС Linux

Я ФС не на плате монтировал, а просто как отдельное устройство на виртуальной машине. Просто монтировал, сделал изменения, демонтировал, подключил еще раз и не нашел, созданную мной, папку..

а Вы те комманды на самой плате выполните и киньте сюда результат

Share this post


Link to post
Share on other sites

make INSTALL_MOD_PATH=target_root_dir modules_install

пишет sh: make: not found

 

после команды dmesg:

 

eth0: attached PHY drive

Linux version 2.6.30_my_RDM (root@iam-desktop) (gcc version 4.4.1 (Sourcery G++rguments : offset 0x1e40000, buffer at 0x70003e34, of 0x

1)00

usbcore: register

Lite 2010q1-202) ) #1 PREEMPT Thu Jan 27 13:56:05 MSK 2011ffer

-

-I- WRITE at b

usbcore: registered new interface d

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177usbcore: registered new interface driver zd1201(command : 8 -

CPU: VIVT data cache, VIVT instruction cachegistered new interface driver usb8xxxat 0x70

Machine: Atmel AT91SAM9M10G45-EKat offse

libertas_sdio: Libertas

Memory policy: ECC disabled, Data cache writebackbertas_sdio: Copyright Pierre Ossmane 0x0W

-I- WR

On node 0 totalpages: 32768bertas_spi: Libertas SPI dr

free_area_init_node: node 0, pgdat c0415374, node_mem_map c0437000face driver rt2500usb-I-

-I- WRITE arguments : offset 0x1e80000, b

Normal zone: 256 pag

Bad eraseblock 1616 at 0x00000ca00000)t (command : 8 --- sta

-I-

-I- E

:-(root) rw rootfstype=jffs200ca20000ffset 0x1ec0000, bu

NR_IRQS:192003e34

Crea

AT91: 160 gpio irqs in 5 banks_nand":880 buffer at : 0x302cd

PID hash table entries: 512 (order: 9, 2048 bytes) "Partition 1" offset in page 0x0W

-I- WRITE retur

Console: colour dummy device 80x300000 : "Partition 2"let (command :

console [ttyS0] enabledet (com

atmel_spi atmel

Dentry cache hash table entries: 16384 (order: 4, 6553e0000, buf

net_namespace: 296 bytes20000, buffer at 0x70003

NET: Registered protocol family 16ew USB device strings: Mfr=3, Prod

atmel_tcb: probe of atmel_tcb.0 failed with error -22, page 0x0, offset in page 0x0W

-

usb usb1: Product:

bio: create slab <bio-0> at 0

-I- End of applet

usb u

SCSI subsystem initialized6.30_my_RDM ehci_hcd statu

usbcore: registered new interface driver usbfsusb usb1: SerialNumber: atmel-

-I- WRITE

-

-I-

TCP established hash table entries: 4096 (order: 3, 32768 bytes) mem 0x00700000 End of applet

-

-I- WRITE arguments : offset

us

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)1ffset: 0x22ad00 buffer at : 0x302cd8 of: 0x18c0 Bytes ap

TCP: Hash tables configured (established 4096 bind 4096) SerialNumber=1TE return byte written : 0x18c0 Bytesied

 

TCP reno registeredpplet

usb usb2: Pro

NET: Registered protocol family 1 2 --- st

usb usb2: Manufacturer:

hx170dec: dec/pp kernel module. $Revision:

 

 

JFFS2 version 2.2. (NAND) (SUMMARY) В© 2001-2006 Red Hat, Inc.morial Day 200811270: 15887 errors w

-I- BU

-

-I- WRITE argumen

msgmni has been set to 245 g_ether ready34, of 0x200

alg: No test for stdrng (krng)use device common for all mice

io scheduler noop registered WRITE at bloc

input: gpio-k

io scheduler anticipatory registered (default)

-I-

-

-

-I-

atmel_tsadcc atmel_tsadcc:

atmel_lcdfb atmel_lcdfb.0: 255KiB frame buffer at 77940000 (mapped at ffa00000)-

-I-

-I- WRITE arg

atmel_tsadcc atmel_tsadcc: Prescaler is set at: 82 0x20000

Console: switching to colour frame buffer device 60x17touch screen controller as /class/input/input1k 0x102,

atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00500000 (mapped at c886a000), icore: registered at91_rtt as rtc0 : 2 --- status : 0)et (command : 2 --- status

rq 23(comm

atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq =d 00,

RPC: Registered tcp t

libertas_sdio: Libertas SDIO drivercommand : 2 --- s

lib80211: common

libertas_sdio: Copyright Pierre Ossmani

-

-I- WRITE arguments : offset 0x20e

libertas_spi: Libertas SPI drivers: unable to read the hardware cl

usbcore: registered new interface driver rt2500usb

-

-

-I- WRITE at b

atmel_mci atmel_mci.0: Using d

usbcore: registered new interface driver rt73usbFFF (RO)

-

-I-

-I- End of app

atmel_mci atme

usbcore: registered new interface driver ar9170usb 1 slotset

-

-I-

-I- WRITE arguments : offset 0x21

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron NAND 256MiB 1,8V 8-bitansfersg default environmentpplet

-I-

-I-

-I- WRITE at block 0

atmel_mci atmel_

)i

AT91 NAND: 8-bit, Software ECCffd0000 irq 29, 1 slots se

-I

Scanning device for bad blockscommand : 2 --- status : 0)ton

Bad eraseblock 1616 at 0x00000ca00000 dma0chan2-I- WRITE arguments : offse

Bad eraseblock 1617 at 0x0

usb usb2: New USB device found, idVendor=1d6b, idProduct=0001RQS:192hi

net.ipv4.conf.all.rp_filter = 1 5 b

-

-I- End o

usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1r wide characterBU

-

-I- WRITE arguments : offset 0x2200000, buffe

usb usb2: Product: AT91 OHCI 3 12:02:00 BST 2010 E

c

usb usb2: Manufacturer: Linux 2.6.30_my_RDM ohci_hcd: no- WRITE at block 0x110, page 0x0, o

Configuring

usb usb2: SerialNumber: at91

-I

System startup link

usb usb2: configuration #1 chosen from 1 choice: 0): 3, 32768 bytes)a

-I-

-I- End of apple

hub 2-0:1.0: USB hub found gdk-pixbuf-loader-pnguffe

hub 2-0:1.0: 2 ports detectedConfiguring pango-module-basi

Initializing USB Mass Storage driver...nfiguring ttf-dejavu-commonlock 0x111,

usbcore: registered new interface driver usb-storageting delay loop

Configuring ttf-dejavu-sans-monolet

USB Mass Storage support registered.ing hicolor-icon-themehe hash t

-I-

 

atmel_usba_udc atmel_usba_udc: MMIO registe,

 

Configuring p

Cre

rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0ytes)

Will output 1024 bit rsa secret key to '/et

IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQsI- End of applet

-

-I- WRITE at offset: 0x1b9e

Generat

rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!, offset in page 0x0family 1

Public

i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)aC1yc2EAAAADAQABAAAAgwCKq3mPPQRmesW7qpKo9McrmEOUJwZNs

Registered led device: d8I-

-I- WRITE arguments :

Registered led device: d6t 0x70003e34,

Hu8nDgdT5V

Registered led device: d7DeAHMJgT2vm/IO6Dy4+L++f59

at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channelsffset in page 0x0ble HW found

WuY26c8GWqmGJ4R+f+wjF8p+JLDXYe/Om3r+p9n

Advanced Linux Sound Architecture Driver Version 1.0.20.uaranteed on shared IRQs 0)t (comman

-I-

-I- W

-I- W

Fin

usbcore: registered new interface d0dec: module ins

-

| | | | | |--- || --'| | | ' | |

atmel_mci atmel_mci.1: Atmel MCI controller at 0xfffd0000 irq 29, 1 slots |-----''----''--' '-----'-'-'-'-I- WRITE at block 0x11c, page 0x0, off

dmatest: Started 1 threads using dma0chan2rt.0: ttyS0 a

'---'End of

dmatest: Started 1 threads using dma0chan3t91sam9m10g45ek ttyS0 End of applet

-

-I-

dmatest: Started 1 threads using dma0chan4X-stable at91sam9m10g45ek ttyS0BytesRITE a

dmatest: Started 1 threads using dma0chan59m10g45ek login: Alignment trap: keylaunch

dmatest: Started 1 threads using dma0chan6ver 'sd' needs updating - please use bus_t

dmatest: Started 1 threads using dma0chan70x00019b55 FSR 0x001t (c

macb macb: invali

VFS: Mounted root (jffs2 filesystem) on device 31:0.401ff674 0000,

MACB_mii_bus: probe

-I-

e = -462block 0x

Alignmen

55 FSR 0x001alendar (177

Alignment trap: gpe-confd (1730) PC=0x401b0e6c Instr=0x15840000 Address=0xbecc72and : 2 --- status : 0)omman

-I- BATCH ER

-I-

 

08053 FSR 0x813pplet

-

-I-

-I-

Al

0b FSR 0x813 gpe-calenda

JFFS2 warning: (1730) jffs2_sum_write_data: Not enough space for summary, padsiztas SDIO driver 0x18c0 Bytest (comma

-I-

-I-

-I- WRI

8f053 FSR 0x8130, page 0x0,

e = -462INSTALL_

Alignment trap: gpe-calendar (1772) PC=0x40c78e6c Instr=0x15840000 Address=0xbeeommand : 2 -

Password:: 0)regis

 

 

 

Login incorrect driver rt2500u

 

at91sam9m10g4

08053 FSR 0x813 : offset 0x242

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)stype=jffs2t copied! E

-I- B

 

-

-I- WRI

NR_IRQS:192 : offset 0

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

PID hash table entries: 512 (order: 9, 2048 bytes)c0 buffer

Memory: 128MB = 128MB total28, page 0x0,

Console: colo

Memory: 125468KB available (3752K code, 301K data, 120K init, 0K highmem)abledet (command : 2 --- sta

Dentry cache hash table entries: 16384 (orde

Calibrating delay loop... 199.47 BogoMIPS (lpj=997376)uffer at 0x70003e34, of 0

Inode-cache hash table entri

Mount-cache hash table entries: 5128c0 Bytes

-I- WR

-I-

-I-

-I- WRITE

CPU: Testing write buffer coherency: ok8MB totalTE return byte written : 0x

Me

net_namespace: 296 bytes(3752K code, 301K data,

NET: Registered protocol family 16 2 --- st

usb usb2: Manufac

-I-

-I

atmel_tcb: probe of atmel_tcb.0 failed wity loop... 199

 

hx170dec: Compatible HW found at 0x00900000I-

-I

hx170dec: dec/pp kernel module. $Revi

IRQ 30/hx170dec: IRQF_DISABLED is not guaranteed on shared IRQs0dec: supports 8170 and 8190 hardwarefset 0x25e0000, buffer at

hx170dec: module inserted. Major = 2530900000 irq=30buffer at :

input: atmel

memalloc: 8190 Linear Memory Allocator, $Revision: 1.1 $age 0x0,

hx170dec: Compatible HW found at 0x00900000-at

memalloc: linear memory base = 0x74000000RQ 30/hx170dec: IRQF_DISABLED is not guar

memalloc: allocation method: MEMALLOC_BASIC-I- WRITE arguments : offset 0x2600000,

hx

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

NetWinder Floating Point Emulator V0.97 (double precision)WRI

msgmni has been set to 245let (command : 2 --- statu

alg: No test for stdrng (krng)01/31) Phillip Lougher-I-

-I-

io scheduler noop registered40000, buffer

JFFS2 version

io scheduler anticipatory registered (default)c.at : 0x302cd8

atmel_ac97c atmel_ac97c

-I-

-

atmel_lcdfb atmel_lcdfb.0: 255KiB frame buffer at 77940000 (mapped at ffa00000) test for stdrng (krng)I-

-I-

-I- End of applet

io scheduler noop registe

Console: switching to colour frame buffer device 60x17ry registered (default)fset 0x2660000, egistered proto

usbcore: registered new interface driver zd1201, buffer at 0x70003e34, of

1)00

usbcore: regis

usbcore: registered new interface driver usb8xxxest: Started 1 thr

-

-

-I- WRITE at

usbcore: reg

libertas_sdio: Libertas SDIO driver: Mounted root (jffs2 filesystem) o

libertas_sdio: Copyright Pierre Ossmannterface driver zd12010)omm

Freeing in

libertas_spi: Libertas SPI driverbcore: registered new interface d

usbcore: registered new interface driver rt2500usbE at offs

 

libertas_sdio: Libertas SDIO driverfoun

usbcore: registered new interface driver rt73usbpyright Pierre Ossmann page 0x0 WRITE return byt

usbcore: registered new interface driver ar9170usbf applet (command : 2 --- s

usbcore: registered ne

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron Noffset 0x2720000,

 

atmel-ehci atmel-ehci: irq 22, io mem 0x00800000CI) DrivertaFlash:AT45DB321

Are

N

atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00EHCI UHP HSwritt

Size= 4325376 bytes042000 to C02

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 number 10000000 to C00041FF (RO) Bootstrap

-I- End of ap

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1ment page 0x0, offset in page 0x0 com

 

In:

atmel-ehci atmel-eh

usb usb1: Product: Atmel EHCI UHP HSpplet (command : 2 --- stat

Area 3:

usb usb1: Manufacturer: Linux 2.6.30_my_RDM ehci_hcd idProduct=0002 : o

Area 4: C0252000 to C041FFFF

usb usb1: SerialNumber: atmel-ehciNew USB device strings: Mfr=3, Pro

usb usb1: configuration #1 chosen from 1 choiceck 0xdb, page 0x0, o

 

In: serialx0aut

usb us

hub 1-0:1.0: USB hub found HSrr: serial-

-I- E

hub 1-0:1.0: 2 ports detectedcturer: Linux 2.6.30_my_RDM e

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

usb usb1: SerialNumber: atmel-

USB Mass Storage support registered. --- statu

hub 2-0:1.0: USB hub foun

atmel_usba_udc atmel_usba_udc: MMIO registers at 0xfff78000 mapped at c886e000t 0x700

Initializing USB Mass Storage driver...- End

CPU: ARM926EJ-S [4106

atmel_usba_udc atmel_usba_udc: FIFO at 0x00600000 mapped at c8900000set in page 0x0ializedd

CPU: VIVT d

USB Mass Storage suppor

g_ether gadget: using random self ethernet addresstmel_usba_udc atmel_usba_udc: MMIO registers at 0x

g_ether gadget: using random host ethernet address cache writebackx20000 Bytes --- status : 0)et: 0x

usb0: MAC 22:32:d9:f6:13:7dba_udc: FIFO at 0x00600000

usb0: HOST MAC da:e1:32:20:51:dfx0, offset in page 0x0W

-I-

-I-

g_ether gadget: Ethernet Gadget, version: Memorial Day 2008rnet address512: 2 --- status : 0)f applet (command : 2 ---

g_ether gadget: g_ether readyom host ethernet addressnsole

mice: PS/2 mouse device co

 

 

-

IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs_tsadcc: Prescaler is set at: 820000 BytesI- WRIT

Memory:

rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!ch screen controller as /class/input/inp

i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)kNb

Cali

rtc-at91sam9 at91_rtt.0: rtc core: registere

Registered led device: d8s : 0)f applet (comma

-I-

Registered led device: d6tab

IRQ 1/rtc0: IRQF_DISA

Registered led device: d7ap

 

lib80211_crypt: registered algorithm 'NULL'T: Registered protocol family 17

-I-

rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clockes: 4096 (order: 2, 16384 byte

RPC: Registered tcp transport module

atmel_mci atmel_mci.0: Using dma0chan0 for DMA transfersoutines for IEEE802.11 drivers0End of applet

-

dmatest: Started 1 threads using dma0chan2

dmatest: Started 1 threads using dma0chan3

dmatest: Started 1 threads using dma0chan4

dmatest: Started 1 threads using dma0chan5

dmatest: Started 1 threads using dma0chan6

dmatest: Started 1 threads using dma0chan7

VFS: Mounted root (jffs2 filesystem) on device 31:0.

Freeing init memory: 120K

Alignment trap: keylaunch (1732) PC=0x401ffd3c Instr=0xe5902004 Address=0x00019b

55 FSR 0x001

Alignment trap: keylaunch (1732) PC=0x401ff674 Instr=0xe594c004 Address=0x00019b

55 FSR 0x001

Alignment trap: gpe-confd (1730) PC=0x401b0e6c Instr=0x15840000 Address=0xbecc72

0b FSR 0x813

JFFS2 warning: (1730) jffs2_sum_write_data: Not enough space for summary, padsiz

e = -462

Alignment trap: gpe-calendar (1772) PC=0x40c78e6c Instr=0x15840000 Address=0xbee

08053 FSR 0x813

Alignment trap: gpe-calendar (1773) PC=0x40c78e6c Instr=0x15840000 Address=0xbee

8f053 FSR 0x813

ttyS0: 1 input overrun(s)

dma0chan4-copy0: #51683: test timed out

 

а командой mount:

 

rootfs on / type rootfs (rw)

/dev/root on / type jffs2 (rw,relatime)

/proc on /proc type proc (rw,relatime)

tmpfs on /mnt/.psplash type tmpfs (rw,relatime,size=40k)

sysfs on /sys type sysfs (rw,relatime)

none on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)

usbfs on /proc/bus/usb type usbfs (rw,relatime)

tmpfs on /var/volatile type tmpfs (rw,relatime)

tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)

tmpfs on /media/ram type tmpfs (rw,relatime)

Edited by stas17

Share this post


Link to post
Share on other sites

и еще вопросик...

почти всегда не сворачивается меню пуск, треть экрана получается закрыта...отчего такой недочет может быть?)

 

и еще когда плата выключается получаю кучу таких сообщений:

dma0chan7-copy0: dstbuf[0xaba] not copied! Expected c7, got 25

dma0chan7-copy0: dstbuf[0xabb] not copied! Expected c6, got 24

dma0chan7-copy0: 3576 errors suppressed

 

с разными dma каналами... и пока у меня хватало терпения наблюдать за этим делом, они все появлялись и появлялись, пока не отключить питание...

Edited by stas17

Share this post


Link to post
Share on other sites

После некоторого периода работы с собранной системой обнаружил еще одну проблемку: иногда некоторые клавиши на визуальной клавиатуре "не работают", а некоторые выводят не те символы, которые должны) то есть нажимаю на А, получаю Д и т.д.))

Никто не встречался с таким ..?

Edited by stas17

Share this post


Link to post
Share on other sites
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock0 mtdparts=at91_nandage (uncompressed)

как Вы прошиваете ядро? У Вас несколько партиций наверное mtdblock0, mtdblock1 и так далее,

mtdparts=at91_nandage - вот это что обозначает не знаю, зависит от реализации. Вот эта строчка root=/dev/mtdblock0

задает то что Вам нужно, она говорит что корневая система должна находиться на нулевой мтд партиции, она

как правило начинается с нулевого адреса физустройства, скорее эту файловую ситему Вы туда не прописали.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this