-- AT91bootstrap Project 3.0 --
-- AT91SAM9M10-EK
-- Compiled: Oct 1 2010 17:20:18 --
-I- Setting: MCK = 133MHz
-I- I cache enabled.
-I- Init SDRAM
-I- Init DDRAM
-I- Init NAND Flash
-I- Nandflash ID is 0x9510DAEC
-I- Nandflash driver initialized
-I- Size of the whole device in bytes : 0x10000000
-I- Size in bytes of one single block of a device : 0x20000
-I- Number of blocks in the entire device : 0x800
-I- Size of the data area of a page in bytes : 0x800
-I- Number of pages in the entire device : 0x40
-I- Bus w
-I- Copy "" (262144 bytes) from NAND 0x00020000 to 0x73f00000
-I- Jump to 0x73f00000
U-Boot 2010.09 (Jan 10 2011 - 20:12:00)
DRAM: 64 MiB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 Bytes
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: macb0
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x80000, size 0x790000
7929856 bytes read: OK
## Booting kernel from Legacy Image at 70400000 ...
Image Name: Linux Kernel Image
Image Type: ARM Linux Kernel Image (gzip
Data Size: 2149140 Bytes = 2 MiB
Load Address: 70008000
Entry Point: 70008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.36-rc6 (user@debian) (gcc version 4.2.0 20070413 (prerelease)
(CodeSourcery Sourcery G++ Lite 2007q1-10)) #294 Mon Jan 10 18:40:13 EST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: SK-AT91SAM9G45
Ignoring unrecognised tag 0x54410009
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyS0,115200 ubi.mtd=1 root=ubi0:nandfs rw rootfsty
pe=ubifs
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: 60620k/60620k available, 4916k reserved,
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
vmalloc : 0xc4800000 - 0xfee00000 ( 934 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0029000 ( 132 kB)
.text : 0xc0029000 - 0xc03e2000 (3812 kB)
.data : 0xc03fe000 - 0xc0422600 ( 146 kB)
Hierarchical RCU implementation.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:192
AT91: 160 gpio irqs in 5 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 199.47 BogoMIPS (lpj=997376)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
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
i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource pit
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 118
io scheduler noop registered (default)
atmel_lcdfb atmel_lcdfb.0: backlight control is not available
atmel_lcdfb atmel_lcdfb.0: 1024KiB frame buffer at 20000000 (mapped at c4a00000)
Console: switching to colour frame buffer device 60x34
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00500000 (mapped at c4814000), i
rq 23
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = 8) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi
t)
Scanning device for bad blocks
Bad eraseblock 232 at 0x000001d00000
Bad eraseblock 329 at 0x000002920000
Bad eraseblock 371 at 0x000002e60000
Bad eraseblock 541 at 0x0000043a0000
Bad eraseblock 629 at 0x000004ea0000
Bad eraseblock 1042 at 0x000008240000
Creating 2 MTD partitions on "atmel_nand":
0x000000000000-0x000001000000 : "Boot partition"
0x000001000000-0x000010000000 : "FS partition"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 438
UBI: attached mtd1 to ubi0
UBI: MTD device name: "FS partition"
UBI: MTD device size: 240 MiB
UBI: number of good PEBs: 1914
UBI: number of bad PEBs: 6
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 265
UBI: total number of reserved PEBs: 1649
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 169315293
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)
UBI: background thread "ubi_bgt0d" started, PID 853
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffa8000 (irq 15)
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffbc000 irq 25 (00:1f:f2:00:00:00)
eth0: attached PHY driver [Micrel KS8001 or KS8721] (mii_bus:phy_addr=ffffffff:0
1, irq=-1)
usbcore: registered new interface driver rt2500usb
usbcore: registered new interface dri
usbcore: registered new interface driver rt2800usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
atmel-ehci atmel-ehci: Atmel EHCI UHP HS
atmel-ehci atmel-ehci: new USB bus registered, assigned bus number 1
atmel-ehci atmel-ehci: irq 22, io mem 0x00800000
atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
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 b
at91_ohci at91_ohci: irq 22, io mem 0x00700000
hub 2-0:1.0: USB hub found
hub 2-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 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: v1.6.0:USB FTDI Serial Converters Driver
USB Serial support registered for moto-modem
usbcore: registered new interface driver moto-modem
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
atmel_usba_udc atmel_usba_udc: MMIO registers at 0xfff78000 mapped at c481e000
atmel_usba_udc atmel_usba_udc: FIFO at 0x00600000 mapped at c4900000
mice: PS/2 mouse device common for all mice
setting trigger mode 2 for irq 149
ads7846 spi3.0: trying pin change workaround on irq 149
ads7846 spi3.0: touchscreen, irq 149
input: ADS7843 Touchscreen as /devices/platform/spi_gpio.3/spi3.0/input/input0
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
i2c /dev entries driver
at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channels
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
atmel_ac97c atmel_ac97c.0: Atmel AC97 controller at 0xc4898000, irq = 24
ALSA device list:
#0: Atmel AC97 controller
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff80000 irq 11, 1 slots
UBIFS: recovery needed
UBIFS error (pid 1): replay_log_leb: first CS node at LEB 5:0 has wrong commit n
umber 68 expected 67
UBIFS error (pid 1): replay_log_leb: log error detected while replaying the log
at LEB 5:0
List of all partitions:
1f00 16384 mtdblock0 (driver?)
1f01 245760 mtdblock1 (driver?)
No filesystem could mount root, tried: ubifs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002f504>] (unwind_backtrace+0x0/0xf4) from [<c003b860>] (panic+0x58/0x1b0)
[<c003b860>] (panic+0x58/0x1b0) from [<c0008fa8>] (mount_block_root+0x194/0x2ac)
[<c0008fa8>] (mount_block_root+0x194/0x2ac) from [<c0009208>] (prepare_namespace
+0xdc/0x1cc)
[<c0009208>] (prepare_namespace+0xdc/0x1cc) from [<c0008934>] (kernel_init+0x104
/0x14c)
[<c0008934>] (kernel_init+0x104/0x14c) from [<c002ae10>] (kernel_thread_exit+0x0
/0x8)
что не так? кто-то может сказать?
перед этим было все нормально. после login-root (#) пробовал linux kernel commands: pwd (/root), ls (нет такого). неужели запрещено?
Потом выключил. Больше ничего не успел сделать, честное слово, клянусь!
Это точно слетела файловая система в NAND flash. Догадываюсь почему. Кстати, это не моя ошибка.
run safe_boot работает.
Ага, читаем "Materials": "запустить скрипт "install_rootfs", в результате работы которого будет заново отформатирован второй раздел NAND flash, скопирован с TFTP сервера и распакован архив корневой ФС." Страшно читать, не то что делать. Особенно впечатляет "скопирован с TFTP сервера". Если у меня нет "TFTP сервера"?
А простым ясным языком, без понтов?
Не совсем понимаю что мешает его поставить? В любом нормальном дистре это делается одной командой (или в пару тычков мыши, если предпочитаете GUI). К тому же на поставляемой виртуальной машине (которую я никогда не юзал) он уже должен стоять.
понты тут непричем:
если "чайник нечищенный", то под виндовз разворачивается виртуалка с прилагаемого диска, там образ линукса и поднятый сервер tftp, а также все бинарные образы и исходники
если чайник слабочищенный, то под виндюки ставится любой сервис с поддержкой протокола tftp, настраивается, туда кладутся бинарники с прилагаемого диска..
если чайник сиятельный, то сетапится машинка с линухом и все кладется туда
ассы могут слить бинарники на носитель, подмонтировать к киту и залить все самостоятельно
Честно, опять ничего не понял. Совсем запутался. ((( Нам бы чего попроще, можно на английском.
Товарищи, не судите строго. Не все же такие умные как вы.
Придется перейти на ясные вещи типа: Embest, Armkits, EmbeddedArm, Mini-box... да мало ли простых людей, как я сам
olegmsg, не разводи панику.
Сначала конкретно опиши задачу. Уверен что для твоих нужд Linux вообще нужен? Просто по ощущениям ты видишь его близко в первый раз в жизни. С чем до этого работал (особенно в плане софта)?