Jump to content

    
Sign in to follow this  
Alex_Golubev

Промышленный компьютер тион-про28

Recommended Posts

нет. А как отформатировать cd-карту в линукс? Хочу попробовать еще раз записать. А cd-карта разбилась на три тома. Я открываю cd карту в виндувс а там пусто. 

Edited by Alex_Golubev

Share this post


Link to post
Share on other sites

Не надо её форматировать, это raw-образ. Джамперы правильно на плате стоят для загрузки с карты?

 

43 minutes ago, Alex_Golubev said:

А cd-карта разбилась на три тома. Я открываю cd карту в виндувс а там пусто.

Так и должно быть. Не знаю, будет ли что-то осмысленное в виндовс отображаться.

Share this post


Link to post
Share on other sites

Джамперы правильно поставил. Проверял несколько раз. 

Консоль еще не смотрел. 

У меня cd-карта на 16 Гб. Можно хоть как-то проверить cd-карту? 

Edited by Alex_Golubev

Share this post


Link to post
Share on other sites

Под Linux рекомендую putty, под Win - TeraTerm или ту же putty.

В консоли увидим коды ошибок, если все плохо, или сообщения загрузчика и ядра с выходом в командную строку, если все хорошо.

Share this post


Link to post
Share on other sites

Подключил ком порт. Вот данные которые получил: Зависает на [   67.597805] random: crng init done какой то генератор случайных чисел нужен.

Spoiler

HTLLCLLC

U-Boot 2018.05 (May 13 2019 - 20:18:27 +0700)

CPU:   Freescale i.MX28 rev1.2 at 454 MHz
BOOT:  SSP SD/MMC #0, 3V3
SPI:   ready
DRAM:  128 MiB
No arch specific invalidate_icache_all available!
NAND:  256 MiB
MMC:   MXS MMC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
Video: MXSFB: 'videomode' variable not set!
In:    serial
Out:   serial
Err:   serial
Net:   FEC0 [PRIME], FEC1
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
** Unable to read file boot.scr **
4506320 bytes read in 1333 ms (3.2 MiB/s)
Booting from mmc ...
22340 bytes read in 31 ms (703.1 KiB/s)
Kernel image @ 0x42000000 [ 0x000000 - 0x44c2d0 ]
## Flattened Device Tree blob at 41000000
   Booting using the fdt blob at 0x41000000
   Loading Device Tree to 47b17000, end 47b1f743 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.17.8 (alexey@debian) (gcc version 7.4.0 (Buildroot 2019.05-rc1-00022-g653bf93837)) #1 Mon May 13 20:20:07 +07 2019
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Freescale i.MX28 Evaluation Kit
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113240K/131072K available (6064K kernel code, 555K rwdata, 2008K rodata, 300K init, 7442K bss, 17832K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (6066 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   ( 300 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 556 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   (7443 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: mxs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000032] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.002268] Console: colour dummy device 80x30
[    0.002431] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.002498] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.002552] ... MAX_LOCK_DEPTH:          48
[    0.002604] ... MAX_LOCKDEP_KEYS:        8191
[    0.002653] ... CLASSHASH_SIZE:          4096
[    0.002703] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.002753] ... MAX_LOCKDEP_CHAINS:      65536
[    0.002803] ... CHAINHASH_SIZE:          32768
[    0.002854]  memory used by lock dependency info: 4655 kB
[    0.002904]  per task-struct memory footprint: 1536 bytes
[    0.003104] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.071444] pid_max: default: 32768 minimum: 301
[    0.072578] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072688] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081135] CPU: Testing write buffer coherency: ok
[    0.090281] Setting up static identity map for 0x40008400 - 0x40008458
[    0.103357] devtmpfs: initialized
[    0.165055] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.165303] futex hash table entries: 256 (order: 1, 11264 bytes)
[    0.166948] pinctrl core: initialized pinctrl subsystem
[    0.181233] NET: Registered protocol family 16
[    0.184234] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.389720] Serial: AMBA PL011 UART driver
[    0.393358] 80074000.serial: ttyAMA0 at MMIO 0x80074000 (irq = 236, base_baud = 0) is a PL011 rev2
[    0.715045] console [ttyAMA0] enabled
[    0.802110] mxs-dma 80004000.dma-apbh: initialized
[    0.820126] mxs-dma 80024000.dma-apbx: initialized
[    0.847131] SCSI subsystem initialized
[    0.854109] usbcore: registered new interface driver usbfs
[    0.860383] usbcore: registered new interface driver hub
[    0.866692] usbcore: registered new device driver usb
[    0.881533] pps_core: LinuxPPS API ver. 1 registered
[    0.886802] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.896210] PTP clock support registered
[    0.903170] Advanced Linux Sound Architecture Driver Initialized.
[    0.917667] clocksource: Switched to clocksource mxs_timer
[    1.575246] NET: Registered protocol family 2
[    1.584911] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 5120 bytes)
[    1.593098] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.600461] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
[    1.608070] TCP: Hash tables configured (established 1024 bind 1024)
[    1.615633] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    1.622424] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    1.630647] NET: Registered protocol family 1
[    1.641515] RPC: Registered named UNIX socket transport module.
[    1.648027] RPC: Registered udp transport module.
[    1.652821] RPC: Registered tcp transport module.
[    1.657806] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.679156] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.769294] NFS: Registering the id_resolver key type
[    1.775504] Key type id_resolver registered
[    1.780272] Key type id_legacy registered
[    1.784864] jffs2: version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
[    1.816384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.824400] io scheduler noop registered (default)
[    1.829534] io scheduler mq-deadline registered
[    1.834162] io scheduler kyber registered
[    1.848166] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.906739] Console: switching to colour frame buffer device 100x30
[    1.933880] mxsfb 80030000.lcdif: initialized
[    1.945627] 8006a000.serial: ttyAPP0 at MMIO 0x8006a000 (irq = 234, base_baud = 1500000) is a 8006a000.serial
[    1.958143] mxs-auart 8006a000.serial: Found APPUART 3.1.0
[    1.966116] 80070000.serial: ttyAPP3 at MMIO 0x80070000 (irq = 235, base_baud = 1500000) is a 80070000.serial
[    1.978757] mxs-auart 80070000.serial: Found APPUART 3.1.0
[    2.029812] random: fast init done
[    2.070123] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    2.076578] nand: Micron MT29F2G08ABAEAWP
[    2.080888] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.096923] Scanning device for bad blocks
[    3.361197] gpmi-nand 8000c000.gpmi-nand: driver registered.
[    3.398391] m25p80 spi1.0: unrecognized JEDEC id bytes: ff, ff, ff
[    3.410138] libphy: Fixed MDIO Bus: probed
[    3.566692] libphy: fec_enet_mii_bus: probed
[    3.577215] fec 800f4000.ethernet: 800f4000.ethernet supply phy not found, using dummy regulator
[    3.594548] usbcore: registered new interface driver asix
[    3.600697] usbcore: registered new interface driver ax88179_178a
[    3.607240] usbcore: registered new interface driver cdc_ether
[    3.613914] usbcore: registered new interface driver smsc95xx
[    3.620420] usbcore: registered new interface driver net1080
[    3.626526] usbcore: registered new interface driver cdc_subset
[    3.633131] usbcore: registered new interface driver zaurus
[    3.639581] usbcore: registered new interface driver cdc_ncm
[    3.645341] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.652689] usbcore: registered new interface driver usb-storage
[    3.690017] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.695981] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.727977] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.748559] hub 1-0:1.0: USB hub found
[    3.753477] hub 1-0:1.0: 1 port detected
[    3.773581] input: mxs-lradc-ts as /devices/soc0/80000000.apb/80040000.apbx/80050000.lradc/mxs-lradc-ts/input/input0
[    3.794488] stmp3xxx-rtc 80056000.rtc: rtc core: registered 80056000.rtc as rtc0
[    3.804062] i2c /dev entries driver
[    3.818414] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[    3.832872] mxs-mmc 80010000.ssp: Got WP GPIO
[    3.870302] mxs-mmc 80010000.ssp: initialized
[    3.897334] mxs-dcp 80028000.dcp: Failed to register sha1 hash!
[    3.906933] mxs-dcp: probe of 80028000.dcp failed with error -22
[    3.920738] usbcore: registered new interface driver usbhid
[    3.926401] usbhid: USB HID core driver
[    3.946834] mmc0: new high speed SDHC card at address aaaa
[    3.972649] mmcblk0: mmc0:aaaa SL16G 14.8 GiB (ro)
[    4.013409] mxs-sgtl5000 sound: ASoC: CODEC DAI sgtl5000 not registered
[    4.026085]  mmcblk0: p1 p2 p3
[    4.030852] NET: Registered protocol family 17
[    4.036616] Key type dns_resolver registered
[    4.065853] registered taskstats version 1
[    4.153987] sgtl5000 0-000a: Error reading chip id -6
[    4.165340] mxs-sgtl5000 sound: ASoC: CODEC DAI sgtl5000 not registered
[    4.176079] stmp3xxx-rtc 80056000.rtc: setting system clock to 1970-01-01 00:14:10 UTC (850)
[    4.186265] usb0_vbus: disabling
[    4.190536] can-3v3: disabling
[    4.193703] ALSA device list:
[    4.196739]   No soundcards found.
[    4.205365] uart-pl011 80074000.serial: no DMA platform data
[    4.214481] VFS: Cannot open root device "mmcblk0p3" or unknown-block(179,3): error -30
[    4.222873] Please append a correct "root=" boot option; here are the available partitions:
[    4.231696] 1f00          262144 mtdblock0
[    4.231740]  (driver?)
[    4.238636] b300        15558144 mmcblk0
[    4.238680]  driver: mmcblk
[    4.245608]   b301           16384 mmcblk0p1 00000000-01
[    4.245642]
[    4.252774]   b302           16384 mmcblk0p2 00000000-02
[    4.252812]
[    4.259947]   b303           61440 mmcblk0p3 00000000-03
[    4.259988]
[    4.266913] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)
[    4.275426] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.8 #1
[    4.281228] Hardware name: Freescale MXS (Device Tree)
[    4.286493] [<c0011010>] (unwind_backtrace) from [<c000f1a4>] (show_stack+0x10/0x14)
[    4.294360] [<c000f1a4>] (show_stack) from [<c001ad4c>] (panic+0xcc/0x258)
[    4.301355] [<c001ad4c>] (panic) from [<c0816574>] (mount_block_root+0x1bc/0x2c0)
[    4.308942] [<c0816574>] (mount_block_root) from [<c0816788>] (mount_root+0x110/0x154)
[    4.316954] [<c0816788>] (mount_root) from [<c08168f4>] (prepare_namespace+0x128/0x188)
[    4.325054] [<c08168f4>] (prepare_namespace) from [<c0816140>] (kernel_init_freeable+0x310/0x36c)
[    4.334035] [<c0816140>] (kernel_init_freeable) from [<c05ed700>] (kernel_init+0x8/0xf0)
[    4.342220] [<c05ed700>] (kernel_init) from [<c00090b0>] (ret_from_fork+0x14/0x24)
[    4.349852] Exception stack(0xc7483fb0 to 0xc7483ff8)
[    4.354974] 3fa0:                                     00000000 00000000 00000000 00000000
[    4.363222] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    4.371464] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    4.378190] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3) ]---
[   67.597805] random: crng init done

 

Edited by Alex_Golubev

Share this post


Link to post
Share on other sites

Ядро ищет rootfs на третьем разделе SD-карты. Либо там файловой системы нет, либо ядро не распознало ее тип. Попробуйте для начала явно его указать в командной строке.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this