嵌入式爱好者

查看: 119|回复: 1

[Linux] 根文件系统编译后烧录启动不了

[复制链接]

1

主题

1

帖子

18

积分

AM335x通行证i.MX6UL通行证XX18通行证

扫一扫,手机访问本帖
发表于 2018-10-30 11:23:01 | 显示全部楼层 |阅读模式

U-Boot 2011.09-00000-g961b6bc-dirty (Apr 21 2017 - 00:52:36)

I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
NAND:  HW ECC BCH16 Selected
ONFI flash detected
ONFI param page 0 valid
HW ECC BCH8 Selected
Detect MT29F2G08
256 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

Video : Drawing the logo from nand.

NAND read: device 0 offset 0x600000, size 0x36
54 bytes read: OK

NAND read: device 0 offset 0x600000, size 0x75734
481076 bytes read: OK
Net:   cpsw
Hit any key to stop autoboot:  0
Booting from nand ...

NAND read: device 0 offset 0xc00000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3681224 Bytes = 3.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (zll@zll) (gcc version 4.8.3 (Buildroot 2014.11-rc1-00011-g4900b2c) ) #13 Mon Mar 12 15:25:51 CST 2018
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1 screentype=R screensize=800x600-8 calibrate=Y laohua=N
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    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: 128MB = 128MB total
[    0.000000] Memory: 122232k/122232k available, 8840k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc068f000   (6684 kB)
[    0.000000]       .init : 0xc068f000 - 0xc06c9000   ( 232 kB)
[    0.000000]       .data : 0xc06ca000 - 0xc074a3c0   ( 513 kB)
[    0.000000]        .bss : 0xc074a3e4 - 0xc077e2f8   ( 208 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000218] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.056725] pid_max: default: 32768 minimum: 301
[    0.056870] Security Framework initialized
[    0.056986] Mount-cache hash table entries: 512
[    0.057416] CPU: Testing write buffer coherency: ok
[    0.058255] devtmpfs: initialized
[    0.078572] omap_hwmod: pruss: failed to hardreset
[    0.079815] print_constraints: dummy:
[    0.080215] NET: Registered protocol family 16
[    0.082664] OMAP GPIO hardware version 0.1
[    0.085662] omap_mux_init: Add partition: #1: core, flags: 0
[    0.087844]  omap_i2c.1: alias fck already exists
[    0.089121]  omap_hsmmc.0: alias fck already exists
[    0.089414]  omap_hsmmc.1: alias fck already exists
[    0.090042]  da8xx_lcdc.0: alias fck already exists
[    0.090365]  omap_i2c.2: alias fck already exists
[    0.092012]  d_can.0: alias fck already exists
[    0.092293]  d_can.1: alias fck already exists
[    0.092601]  davinci-mcasp.1: alias fck already exists
[    0.094293]  omap2_mcspi.1: alias fck already exists
[    0.094553]  omap2_mcspi.2: alias fck already exists
[    0.094856]  edma.0: alias fck already exists
[    0.094880]  edma.0: alias fck already exists
[    0.094901]  edma.0: alias fck already exists
[    0.137314] bio: create slab <bio-0> at 0
[    0.139881] SCSI subsystem initialized
[    0.142155] usbcore: registered new inte**ce driver usbfs
[    0.142516] usbcore: registered new inte**ce driver hub
[    0.142742] usbcore: registered new device driver usb
[    0.143083] registerd cppi-dma Intr @ IRQ 17
[    0.143100] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
[    0.143111] Cppi41 Init Done
[    0.143142] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.143491] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.144821] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.145564] tps65217 1-0024: Failed to read revision register: -121
[    0.145622] tps65217: probe of 1-0024 failed with error -121
[    0.156801] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    0.158808] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.159703] Bluetooth: Core ver 2.16
[    0.159916] NET: Registered protocol family 31
[    0.159931] Bluetooth: HCI device and connection manager initialized
[    0.159949] Bluetooth: HCI socket layer initialized
[    0.159961] Bluetooth: L2CAP socket layer initialized
[    0.159992] Bluetooth: SCO socket layer initialized
[    0.160636] cfg80211: Calling CRDA to update world regulatory domain
[    0.161968] Switching to clocksource gp timer
[    0.183155] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.183381] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.183752] MUSB0 controller's USBSS revision = 4ea20800
[    0.183790] musb0: Enabled SW babble control
[    0.184820] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883e000 using DMA, IRQ 18
[    0.185004] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.185335] MUSB1 controller's USBSS revision = 4ea20800
[    0.185370] musb1: Enabled SW babble control
[    0.185855] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.185963] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.186114] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.186133] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.186149] usb usb1: Product: MUSB HDRC host driver
[    0.186161] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.186174] usb usb1: SerialNumber: musb-hdrc.1
[    0.187199] hub 1-0:1.0: USB hub found
[    0.187233] hub 1-0:1.0: 1 port detected
[    0.187917] musb-hdrc musb-hdrc.1: USB Host mode controller at c884a800 using DMA, IRQ 19
[    0.188399] NET: Registered protocol family 2
[    0.188615] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.188962] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.189068] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.189134] TCP: Hash tables configured (established 4096 bind 4096)
[    0.189149] TCP reno registered
[    0.189163] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.189193] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.189428] NET: Registered protocol family 1
[    0.189717] RPC: Registered named UNIX socket transport module.
[    0.189731] RPC: Registered udp transport module.
[    0.189741] RPC: Registered tcp transport module.
[    0.189752] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.189988] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.190223] omap-gpmc omap-gpmc: GPMC revision 6.0
[    0.197782] VFS: Disk quotas dquot_6.5.2
[    0.197856] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.198467] msgmni has been set to 238
[    0.202105] alg: No test for stdrng (krng)
[    0.202198] io scheduler noop registered
[    0.202211] io scheduler deadline registered
[    0.202314] io scheduler cfq registered (default)
[    0.204803] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-8.0-ATXI#-T-1 panel
[    0.218287] Console: switching to colour frame buffer device 100x37
[    0.227965] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.928557] console [ttyO0] enabled
[    0.933163] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.941254] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.949309] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.957370] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.965427] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.985356] brd: module loaded
[    0.994623] loop: module loaded
[    0.998436] i2c-core: driver [tsl2550] using legacy suspend method
[    1.004989] i2c-core: driver [tsl2550] using legacy resume method
[    1.011814] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.023185] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.030652] omap2-nand driver initializing
[    1.035090] info->phys_base 8000000
[    1.038824] ONFI flash detected
[    1.042290] ONFI param page 0 valid
[    1.045972] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[    1.054416] omap2-nand: detected x8 NAND flash
[    1.059188] Page size 2048 Select ECC BCH8
[    1.063511] Nand ECC BCH8 HW
[    1.066914] Creating 9 MTD partitions on "omap2-nand.0":
[    1.072562] 0x000000000000-0x000000200000 : "SPL"
[    1.079702] 0x000000200000-0x000000400000 : "SPL.backup1"
[    1.087433] 0x000000400000-0x000000600000 : "SPL.backup2"
[    1.095057] 0x000000600000-0x000000800000 : "SPL.backup3"
[    1.102629] 0x000000800000-0x000000a00000 : "U-Boot"
[    1.109699] 0x000000a00000-0x000000c00000 : "U-Boot Env"
[    1.117236] 0x000000c00000-0x000001400000 : "Kernel"
[    1.125510] 0x000001400000-0x000007800000 : "File System"
[    1.151177] 0x000007800000-0x000010000000 : "User File"
[    1.183518] OneNAND driver initializing
[    1.188487] UBI: attaching mtd7 to ubi0
[    1.192576] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.199175] UBI: logical eraseblock size:    126976 bytes
[    1.204873] UBI: smallest flash I/O unit:    2048
[    1.209824] UBI: sub-page size:              512
[    1.214694] UBI: VID header offset:          2048 (aligned 2048)
[    1.221019] UBI: data offset:                4096
[    2.214374] UBI: max. sequence number:       0
[    2.234315] UBI error: vtbl_check: volume table check failed: record 0, error 9
[    2.242386] UBI error: ubi_init: cannot attach mtd7
[    2.249195] CAN device driver inte**ce
[    2.253285] CAN bus driver for Bosch D_CAN controller 1.0
[    2.259968] d_can d_can.0: device registered (irq=52, irq_obj=53)
[    2.267237] d_can d_can.1: device registered (irq=55, irq_obj=56)
[    2.322031] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    2.328548] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
[    2.335897] davinci_mdio.0: probed
[    2.339487] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver SMSC LAN8710/LAN8720
[    2.348309] PPP generic driver version 2.4.2
[    2.353368] PPP BSD Compression module registered
[    2.358325] PPP Deflate Compression module registered
[    2.363929] usbcore: registered new inte**ce driver rtl8192cu
[    2.370265] usbcore: registered new inte**ce driver zd1201
[    2.376383] usbcore: registered new inte**ce driver cdc_ether
[    2.382732] usbcore: registered new inte**ce driver cdc_eem
[    2.388869] usbcore: registered new inte**ce driver dm9601
[    2.394811] cdc_ncm: 04-Aug-2011
[    2.398392] usbcore: registered new inte**ce driver cdc_ncm
[    2.404376] Initializing USB Mass Storage driver...
[    2.409772] usbcore: registered new inte**ce driver usb-storage
[    2.416121] USB Mass Storage support registered.
[    2.421401] usbcore: registered new inte**ce driver usbserial
[    2.427739] USB Serial support registered for generic
[    2.433260] usbcore: registered new inte**ce driver usbserial_generic
[    2.440139] usbserial: USB Serial Driver core
[    2.444904] USB Serial support registered for GSM modem (1-port)
[    2.451527] usbcore: registered new inte**ce driver option
[    2.457422] option: v0.7.2:USB Driver for GSM modems
[    2.462871]  gadget: Mass Storage Function, version: 2009/09/11
[    2.469115]  gadget: Number of LUNs=1
[    2.472994]  lun0: LUN: removable file: (no medium)
[    2.478168]  gadget: Mass Storage Gadget, version: 2009/09/11
[    2.484246]  gadget: userspace failed to provide iSerialNumber
[    2.490397]  gadget: g_mass_storage ready
[    2.494650] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    2.500303] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    2.508243] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.515422] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.523052] usb usb2: Product: MUSB HDRC host driver
[    2.528283] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[    2.533888] usb usb2: SerialNumber: musb-hdrc.0
[    2.539695] hub 2-0:1.0: USB hub found
[    2.543711] hub 2-0:1.0: 1 port detected
[    2.549290] mousedev: PS/2 mouse device common for all mice
[    2.555946] [wds tsc probe]x.min=140,x.max=3946,y.min=319,y.max=3865,x.inverted=0,y.inverted=1
[    2.565521] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
[    2.576834] rtc-ds1307 2-0068: rtc core: registered ds1307 as rtc0
[    2.583408] rtc-ds1307 2-0068: 56 bytes nvram
[    2.588183] i2c /dev entries driver
[    2.592702] Linux video capture inte**ce: v2.00
[    2.597970] usbcore: registered new inte**ce driver uvcvideo
[    2.604077] USB Video Class driver (1.1.1)
[    2.609389] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.615973] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[    2.622636] usbcore: registered new inte**ce driver bcm203x
[    2.628607] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    2.634702] usbcore: registered new inte**ce driver btusb
[    2.640581] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[    2.649506] cpuidle: using governor ladder
[    2.654427] cpuidle: using governor menu
[    2.666062] usbcore: registered new inte**ce driver usbhid
[    2.671952] usbhid: USB HID core driver
[    2.676833] tiadc tiadc: attached adc driver
[    2.684768] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    2.692690] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    2.700434] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    2.708210] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    2.719314] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    2.762919] ALSA device list:
[    2.766053]   #0: AM335X EVM
[    2.769082] oprofile: hardware counters not available
[    2.774434] oprofile: using timer interrupt.
[    2.778958] nf_conntrack version 0.5.0 (1909 buckets, 7636 max)
[    2.785745] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.791486] TCP cubic registered
[    2.794928] NET: Registered protocol family 17
[    2.799619] can: controller area network core (rev 20090105 abi 8)
[    2.806243] NET: Registered protocol family 29
[    2.810970] can: raw protocol (rev 20090105)
[    2.815487] can: broadcast manager protocol (rev 20090105 t)
[    2.821618] Bluetooth: RFCOMM TTY layer initialized
[    2.826797] Bluetooth: RFCOMM socket layer initialized
[    2.832241] Bluetooth: RFCOMM ver 1.11
[    2.836188] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.841778] Bluetooth: BNEP filters: protocol multicast
[    2.847300] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[    2.854081] Registering the dns_resolver key type
[    2.859129] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.867244] ThumbEE CPU extension supported.
[    2.871806] mux: Failed to setup hwmod io irq -22
[    2.877538] Power Management for AM33XX family
[    2.882479] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    2.889210] Copied the M3 firmware to UMEM
[    2.893632] Cortex M3 Firmware Version = 0x181
[    2.903993] clock: disabling unused clocks to save power
[    2.911853] Detected MACID=44:ea:d8:bf:59:a
[    2.917589] cpsw: Detected MACID = 44:ea:d8:bf:59:0c
[    2.924903] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.933912] rtc-ds1307 2-0068: setting system clock to 2000-01-05 23:09:16 UTC (947113756)
[    2.943105] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[    2.950543] Please append a correct "root=" boot option; here are the available partitions:
[    2.959415] 1f00            2048 mtdblock0  (driver?)
[    2.964764] 1f01            2048 mtdblock1  (driver?)
[    2.970091] 1f02            2048 mtdblock2  (driver?)
[    2.975443] 1f03            2048 mtdblock3  (driver?)
[    2.980769] 1f04            2048 mtdblock4  (driver?)
[    2.986110] 1f05            2048 mtdblock5  (driver?)
[    2.991437] 1f06            8192 mtdblock6  (driver?)
[    2.996778] 1f07          102400 mtdblock7  (driver?)
[    3.002121] 1f08          139264 mtdblock8  (driver?)
[    3.007449] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.016165] Backtrace:
[    3.018777] [<c001812c>] (dump_backtrace+0x0/0x110) from [<c04e6df4>] (dump_stack+0x18/0x1c)
[    3.027681]  r6:00008000 r5:c05e52d0 r4:c074d050 r3:c06ed008
[    3.033683] [<c04e6ddc>] (dump_stack+0x0/0x1c) from [<c04e700c>] (panic+0x74/0x190)
[    3.041767] [<c04e6f98>] (panic+0x0/0x190) from [<c068fcc0>] (mount_block_root+0x198/0x228)
[    3.050583]  r3:c7473800 r2:00000000 r1:c701df60 r0:c05e52d0
[    3.056573]  r7:c06bea44
[    3.059254] [<c068fb28>] (mount_block_root+0x0/0x228) from [<c068ffd4>] (prepare_namespace+0xb0/0x1e0)
[    3.069083] [<c068ff24>] (prepare_namespace+0x0/0x1e0) from [<c068f938>] (kernel_init+0x124/0x128)
[    3.078533]  r6:c00417a8 r5:c06c8188 r4:c06c8188
[    3.083443] [<c068f814>] (kernel_init+0x0/0x128) from [<c00417a8>] (do_exit+0x0/0x66c)
[    3.091782]  r5:c068f814 r4:00000000
[  354.264196] ti81xx_interrupt 1146: VBUS ??m{{?ww





命令用的用户手册里的命令

回复

使用道具 举报

2

主题

3302

帖子

2888

积分

发表于 2018-11-5 09:12:27 | 显示全部楼层
您好
您对内核进行过修改吗,您这边可以烧写我们的标准镜像看看是否可以启动来排查一下问题
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|飞凌嵌入式 ( 冀ICP备12004394号-1

GMT+8, 2018-11-15 03:27

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表