This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

kernel启动过程中,从nand中读取ubi错误

kernel启动的过程中,报错信息如图

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.18-rt17-g4415f52 (root@ubuntu) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #3 PREEMPT RT Tue Jun 2 14:20:37 CST 2020
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI CP6000
[    0.000000] cma: Reserved 24 MiB at 0x8d000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 225396K/262144K available (6307K kernel code, 261K rwdata, 2256K rodata, 272K init, 273K bss, 12172K reserved, 24576K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08650b4   (8565 kB)
[    0.000000]       .init : 0xc0866000 - 0xc08aa000   ( 272 kB)
[    0.000000]       .data : 0xc08aa000 - 0xc08eb6e0   ( 262 kB)
[    0.000000]        .bss : 0xc08ee000 - 0xc0932680   ( 274 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU kthread priority: 1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 19200000 Hz
[    0.000017] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
[    0.000031] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
[    0.000039] OMAP clocksource: timer1 at 19200000 Hz
[    0.000252] Console: colour dummy device 80x30
[    0.000429] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000431] This ensures that you still see kernel messages. Please
[    0.000433] update your kernel commandline.
[    0.089135] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.089141] pid_max: default: 32768 minimum: 301
[    0.089252] Security Framework initialized
[    0.089307] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089315] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090134] Initializing cgroup subsys blkio
[    0.090151] Initializing cgroup subsys memory
[    0.090200] Initializing cgroup subsys devices
[    0.090213] Initializing cgroup subsys freezer
[    0.090225] Initializing cgroup subsys perf_event
[    0.090312] CPU: Testing write buffer coherency: ok
[    0.090759] Setting up static identity map for 0x80008200 - 0x80008270
[    0.093198] devtmpfs: initialized
[    0.105507] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.120796] omap_hwmod: debugss: _wait_target_disable failed
[    0.178132] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.181009] pinctrl core: initialized pinctrl subsystem
[    0.182603] NET: Registered protocol family 16
[    0.185320] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.191762] OMAP GPIO hardware version 0.1
[    0.200977] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpmc_pins, deferring probe
[    0.202979] No ATAGs?
[    0.203011] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.250533] edma 49000000.edma: TI EDMA DMA engine driver
[    0.254336] vgaarb: loaded
[    0.254925] SCSI subsystem initialized
[    0.255292] usbcore: registered new interface driver usbfs
[    0.255370] usbcore: registered new interface driver hub
[    0.255537] usbcore: registered new device driver usb
[    0.255987] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.256126] media: Linux media interface: v0.10
[    0.256201] Linux video capture interface: v2.00
[    0.256263] pps_core: LinuxPPS API ver. 1 registered
[    0.256271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.256306] PTP clock support registered
[    0.257277] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.257544] Advanced Linux Sound Architecture Driver Initialized.
[    0.258526] Switched to clocksource timer1
[    0.270863] NET: Registered protocol family 2
[    0.271913] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.271977] TCP bind hash table entries: 2048 (order: 3, 49152 bytes)
[    0.272077] TCP: Hash tables configured (established 2048 bind 2048)
[    0.272180] UDP hash table entries: 256 (order: 2, 16384 bytes)
[    0.272221] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[    0.272467] NET: Registered protocol family 1
[    0.273029] RPC: Registered named UNIX socket transport module.
[    0.273046] RPC: Registered udp transport module.
[    0.273052] RPC: Registered tcp transport module.
[    0.273059] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.274154] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.274204] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.276479] futex hash table entries: 256 (order: 1, 8192 bytes)
[    0.276601] audit: initializing netlink subsys (disabled)
[    0.276685] audit: type=2000 audit(0.250:1): initialized
[    0.285388] VFS: Disk quotas dquot_6.6.0
[    0.285621] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.288336] NFS: Registering the id_resolver key type
[    0.288426] Key type id_resolver registered
[    0.288436] Key type id_legacy registered
[    0.288734] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.290925] NET: Registered protocol family 38
[    0.291006] io scheduler noop registered
[    0.291021] io scheduler deadline registered
[    0.291250] io scheduler cfq registered (default)
[    0.292319] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_gpio_pins
[    0.292338] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_gpio_pins
[    0.292466] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.295273] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.296531] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.300371] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    1.127555] console [ttyS0] enabled
[    1.132960] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    1.144886] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a 8250
[    1.156698] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
[    1.168824] [drm] Initialized drm 1.1.0 20060810
[    1.187233] brd: module loaded
[    1.196923] loop: module loaded
[    1.201939] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.212233] CAN device driver interface
[    1.218365] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=164)
[    1.288557] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.296228] davinci_mdio 4a101000.mdio: detected phy mask fffffff4
[    1.306708] libphy: 4a101000.mdio: probed
[    1.311774] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ8041
[    1.322593] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Micrel KSZ8041
[    1.333408] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver Micrel KSZ9031 Gigabit PHY
[    1.346318] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[    1.354484] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
[    1.362953] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[    1.371044] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
[    1.379461] cpsw 4a100000.ethernet: Detected MACID = 38:d2:69:2b:c0:cb
[    1.389088] cpsw 4a100000.ethernet: cpsw: Detected MACID = 38:d2:69:2b:c0:cd
[    1.398838] GobiNet: Quectel_WCDMA&LTE_Linux&Android_GobiNet_Driver_V1.3.0
[    1.407573] usbcore: registered new interface driver GobiNet
[    1.415335] usbcore: registered new interface driver usbserial
[    1.422735] usbcore: registered new interface driver option
[    1.429798] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.439119] mousedev: PS/2 mouse device common for all mice
[    1.446134] i2c /dev entries driver
[    1.452141]  remoteproc0: wkup_m3 is available
[    1.457734]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.469026]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    1.482272]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    1.490720] Initializing XFRM netlink socket
[    1.490762] NET: Registered protocol family 17
[    1.490822] NET: Registered protocol family 15
[    1.490832] can: controller area network core (rev 20120528 abi 9)
[    1.490951] NET: Registered protocol family 29
[    1.490996] can: raw protocol (rev 20120528)
[    1.491006] can: broadcast manager protocol (rev 20120528 t)
[    1.491024] can: netlink gateway (rev 20130117) max_hops=1
[    1.491417] Key type dns_resolver registered
[    1.491674] omap_voltage_late_init: Voltage driver support not added
[    1.492065] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    1.492076] cpu cpu0: cpu0 clock notifier not ready, retry
[    1.492420] ThumbEE CPU extension supported.
[    1.492446] Registering SWP/SWPB emulation handler
[    1.501447] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.501463] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.503257] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.503261] nand: Micron MT29F2G08ABAEAWP
[    1.503269] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.503301] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.503397] 10 ofpart partitions found on MTD device 8000000.nand
[    1.503403] Creating 10 MTD partitions on "8000000.nand":
[    1.503419] 0x000000000000-0x000000020000 : "NAND.SPL"
[    1.504806] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    1.505876] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    1.509615] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    1.510754] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    1.519271] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    1.520772] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    1.521888] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    1.523004] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    1.529505] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    1.778781] tps65910 0-002d: No interrupt support, no core IRQ
[    1.800986] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.809305] vdd_mpu: supplied by vbat
[    1.810900] ubi0: attaching mtd9
[    1.810970] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    1.810977] pgd = c0004000
[    1.810985] [00000000] *pgd=00000000
[    1.810997] Internal error: Oops: 5 [#1] PREEMPT ARM
[    1.811005] Modules linked in:
[    1.811019] CPU: 0 PID: 1 Comm: swapper Not tainted 4.1.18-rt17-g4415f52 #3
[    1.811022] Hardware name: Generic AM33XX (Flattened Device Tree)
[    1.811026] task: cf04c000 ti: cf046000 task.ti: cf046000
[    1.811055] PC is at __rmqueue+0x84/0x494
[    1.811062] LR is at get_page_from_freelist+0x6ec/0x944
[    1.811068] pc : [<c00b822c>]    lr : [<c00b8d28>]    psr: a0000113
[    1.811068] sp : cf047c40  ip : cf047ca0  fp : cf047c9c
[    1.811072] r10: 00000000  r9 : c08bb948  r8 : 00000000
[    1.811075] r7 : cffd2ae8  r6 : 00000000  r5 : 00000000  r4 : 00000000
[    1.811079] r3 : 00000034  r2 : c08e9c1c  r1 : 00000001  r0 : c08e9b94
[    1.811086] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.811090] Control: 10c5387d  Table: 80004019  DAC: 00000015
[    1.811094] Process swapper (pid: 1, stack limit = 0xcf046210)
[    1.811098] Stack: (0xcf047c40 to 0xcf048000)
[    1.811107] 7c40: cf047cbc cf047c50 c02bfc4c c02be334 c08e9c08 c08e9b94 00000000 00000000
[    1.811114] 7c60: 00000034 c08e9b94 cf0260fb cf026890 cf047cb0 0000000f 00000001 00000000
[    1.811121] 7c80: cffd2ae8 00000000 c08bb948 c08e9b94 cf047d24 cf047ca0 c00b8d28 c00b81b4
[    1.811128] 7ca0: 00000141 0000ef53 0000000a c08e9f64 c08ea714 c0906ab8 00000001 cfd8626c
[    1.811135] 7cc0: cfd86260 c08e9e5c 00000000 0000000f 00000000 00000100 c08ea714 00000141
[    1.811142] 7ce0: 000202d2 00000000 ffffffff cf047d78 cfd86260 00000000 00108039 000002d2
[    1.811150] 7d00: 00000000 c08ac1ac c08ea710 00000141 000000d2 cf444a00 cf047dbc cf047d28
[    1.811157] 7d20: c00b91c0 c00b8648 cf047d8c cf047d38 c00e1120 c062d604 c08ef6a8 00000000
[    1.811164] 7d40: cf449140 d0800000 d0821000 00000000 00000001 d0800000 c00625a8 c0057d98
[    1.811170] 7d60: 00000006 00021000 00000022 00000001 000000d2 d0800000 c08ea710 00000000
[    1.811177] 7d80: c08e9b94 00000000 00000000 00000001 c00ecfa4 00000002 cf449100 000002d2
[    1.811184] 7da0: ffffffff 00000010 000000d2 cf444a00 cf047dfc cf047dc0 c00e21f4 c00b90d8
[    1.811191] 7dc0: ff000000 ffffffff 000000d2 c043587c c08a202c ffffffff cf429800 00000000
[    1.811198] 7de0: cf026000 cf429800 00000840 000007ff cf047e2c cf047e00 c00e2364 c00e2120
[    1.811205] 7e00: 000000d2 0000024f 00000000 ffffffff c043587c c062d7f0 cf429800 fffff800
[    1.811212] 7e20: cf047e44 cf047e30 c00e23a4 c00e2328 ffffffff c043587c cf047e8c cf047e48
[    1.811219] 7e40: c043587c c00e237c cf047e6c cf047e58 cf047e6c 00000800 c062d7f4 c062c774
[    1.811226] 7e60: cf047e8c 00000000 c08a2030 c08a202c cf429800 c08ee000 c089c418 00000000
[    1.811233] 7e80: cf047ecc cf047e90 c088ced0 c0435224 00000000 c08a813c cf047ec0 c08a2030
[    1.811240] 7ea0: c02c2ec0 c02c2e34 c08ae8a0 c088cce4 c08ae8a0 cf443f80 c08ee000 c089c418
[    1.811247] 7ec0: cf047f4c cf047ed0 c0009684 c088ccf0 cf047efc cf047ee0 cf047f04 cf047ee8
[    1.811255] 7ee0: c0866600 c02bd7d4 c0863528 cffff523 cffff51a c0652158 cf047f4c cf047f08
[    1.811262] 7f00: c004deec c08665f4 c005d2b4 00000007 00000007 cffff524 c07a2da4 00000000
[    1.811269] 7f20: c006054c 00000007 c089c414 c08ee000 c08a813c c08ee000 c089c418 c08665e8
[    1.811275] 7f40: cf047f94 cf047f50 c0866e08 c0009608 00000007 00000007 c08665e8 00000000
[    1.811282] 7f60: 00000000 000000a3 00000000 00000000 c0625d64 00000000 00000000 00000000
[    1.811289] 7f80: 00000000 00000000 cf047fac cf047f98 c0625d74 c0866d18 00000000 c0625d64
[    1.811296] 7fa0: 00000000 cf047fb0 c000f8a8 c0625d70 00000000 00000000 00000000 00000000
[    1.811302] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.811308] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    1.811312] Backtrace: 
[    1.811327] [<c00b81a8>] (__rmqueue) from [<c00b8d28>] (get_page_from_freelist+0x6ec/0x944)
[    1.811338]  r10:c08e9b94 r9:c08bb948 r8:00000000 r7:cffd2ae8 r6:00000000 r5:00000001
[    1.811342]  r4:0000000f
[    1.811353] [<c00b863c>] (get_page_from_freelist) from [<c00b91c0>] (__alloc_pages_nodemask+0xf4/0x84c)
[    1.811362]  r10:cf444a00 r9:000000d2 r8:00000141 r7:c08ea710 r6:c08ac1ac r5:00000000
[    1.811365]  r4:000002d2
[    1.811383] [<c00b90cc>] (__alloc_pages_nodemask) from [<c00e21f4>] (__vmalloc_node_range+0xe0/0x208)
[    1.811393]  r10:cf444a00 r9:000000d2 r8:00000010 r7:ffffffff r6:000002d2 r5:cf449100
[    1.811396]  r4:00000002
[    1.811404] [<c00e2114>] (__vmalloc_node_range) from [<c00e2364>] (__vmalloc_node+0x48/0x54)
[    1.811413]  r10:000007ff r9:00000840 r8:cf429800 r7:cf026000 r6:00000000 r5:cf429800
[    1.811416]  r4:ffffffff
[    1.811423] [<c00e231c>] (__vmalloc_node) from [<c00e23a4>] (vmalloc+0x34/0x40)
[    1.811426]  r4:fffff800
[    1.811449] [<c00e2370>] (vmalloc) from [<c043587c>] (ubi_attach_mtd_dev+0x664/0xcf0)
[    1.811459] [<c0435218>] (ubi_attach_mtd_dev) from [<c088ced0>] (ubi_init+0x1ec/0x2a8)
[    1.811469]  r10:00000000 r9:c089c418 r8:c08ee000 r7:cf429800 r6:c08a202c r5:c08a2030
[    1.811472]  r4:00000000
[    1.811484] [<c088cce4>] (ubi_init) from [<c0009684>] (do_one_initcall+0x88/0x1e0)
[    1.811493]  r9:c089c418 r8:c08ee000 r7:cf443f80 r6:c08ae8a0 r5:c088cce4 r4:c08ae8a0
[    1.811503] [<c00095fc>] (do_one_initcall) from [<c0866e08>] (kernel_init_freeable+0xfc/0x1c0)
[    1.811513]  r10:c08665e8 r9:c089c418 r8:c08ee000 r7:c08a813c r6:c08ee000 r5:c089c414
[    1.811516]  r4:00000007
[    1.811532] [<c0866d0c>] (kernel_init_freeable) from [<c0625d74>] (kernel_init+0x10/0xf4)
[    1.811541]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0625d64
[    1.811544]  r4:00000000
[    1.811559] [<c0625d64>] (kernel_init) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
[    1.811563]  r5:c0625d64 r4:00000000
[    1.811572] Code: 11a01005 0a000030 e51b303c e51b0038 (e59ac000) 
[    1.811586] ---[ end trace 0000000000000002 ]---
[    1.811612] Unable to handle kernel NULL pointer dereference at virtual address 00000020
[    1.811614] pgd = c0004000
[    1.811617] [00000020] *pgd=00000000
[    1.811622] Internal error: Oops: 5 [#2] PREEMPT ARM
[    1.811625] Modules linked in:
[    1.811633] CPU: 0 PID: 1 Comm: swapper Tainted: G      D         4.1.18-rt17-g4415f52 #3
[    1.811635] Hardware name: Generic AM33XX (Flattened Device Tree)
[    1.811639] task: cf04c000 ti: cf046000 task.ti: cf046000
[    1.811655] PC is at exit_pi_state_list+0xbc/0x21c
[    1.811675] LR is at mm_release+0xe8/0x108
[    1.811680] pc : [<c0086b4c>]    lr : [<c0033444>]    psr: 00000193
[    1.811680] sp : cf0479a8  ip : cf0479ac  fp : cf0479dc
[    1.811683] r10: c00b822e  r9 : 00000001  r8 : 00000000
[    1.811686] r7 : cf04c4a4  r6 : cf04c000  r5 : 00000000  r4 : cf046000
[    1.811689] r3 : 00000020  r2 : 00000001  r1 : 00000000  r0 : cf04c000
[    1.811694] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    1.811698] Control: 10c5387d  Table: 80004019  DAC: 00000015
[    1.811701] Process swapper (pid: 1, stack limit = 0xcf046210)
[    1.811705] Stack: (0xcf0479a8 to 0xcf048000)
[    1.811712] 79a0:                   60000113 00000000 00000000 00000000 cf04c000 0000000b
[    1.811719] 79c0: c08afe00 00000001 00000000 00000001 cf047a0c cf0479e0 c0033444 c0086a9c
[    1.811726] 79e0: cf047a0c cf0479f0 c008e73c 00000000 cf04c000 cf04c000 0000000b c08afe00
[    1.811733] 7a00: cf047a34 cf047a10 c00378ac c0033368 00000001 c00b822e cf047a34 cf047a28
[    1.811740] 7a20: c00358e8 60000113 cf047ab4 cf047a38 c0012fa0 c003727c cf046210 0000000b
[    1.811746] 7a40: 00000000 cf047bf8 00000008 00000000 3180d6bc 31306131 20353030 30306130
[    1.811753] 7a60: 30333030 31356520 33303362 35652063 30306231 28203833 61393565 30303063
[    1.811760] 7a80: c0002029 c0626bb4 c080d6bc 00000000 cf047bf8 00000005 00000000 00000000
[    1.811767] 7aa0: c08bb948 00000000 cf047acc cf047ab8 c0626720 c0012cb8 cf047bf8 00000000
[    1.811774] 7ac0: cf047b24 cf047ad0 c062e3e8 c06266d0 00000000 cf047ae0 00000000 00000100
[    1.811781] 7ae0: c08ea714 00000141 002212d0 00000000 ffffffff cf047b80 cfd86260 00000005
[    1.811788] 7b00: 00000005 c062e5dc 00000000 cf047bf8 c08bb948 00000000 cf047b44 cf047b28
[    1.811795] 7b20: c062e694 c062e1b0 c08b01c4 00000005 c062e5dc 00000000 cf047bf4 cf047b48
[    1.811802] 7b40: c00092a4 c062e5e8 0000002e 00000000 00000000 cf047b60 00000000 00000100
[    1.811809] 7b60: c08ea714 00000141 002212d0 00000000 ffffffff 002012d0 cf047c0c cf047b88
[    1.811816] 7b80: c00b8a84 c062d604 00000141 0000efc0 00000000 002012d0 cf047c2c cf047ba8
[    1.811823] 7ba0: 00001f54 00000000 cf047bd4 cf047bb8 c005e750 c006c2ec cf04c030 c08b8528
[    1.811830] 7bc0: 00001f54 00000000 cf047bfc cf047bd8 c00595dc c00b822c a0000113 ffffffff
[    1.811837] 7be0: cf047c2c 00000000 cf047c9c cf047bf8 c062dae0 c0009274 c08e9b94 00000001
[    1.811844] 7c00: c08e9c1c 00000034 00000000 00000000 00000000 cffd2ae8 00000000 c08bb948
[    1.811851] 7c20: 00000000 cf047c9c cf047ca0 cf047c40 c00b8d28 c00b822c a0000113 ffffffff
[    1.811858] 7c40: cf047cbc cf047c50 c02bfc4c c02be334 c08e9c08 c08e9b94 00000000 00000000
[    1.811865] 7c60: 00000034 c08e9b94 cf0260fb cf026890 cf047cb0 0000000f 00000001 00000000
[    1.811872] 7c80: cffd2ae8 00000000 c08bb948 c08e9b94 cf047d24 cf047ca0 c00b8d28 c00b81b4
[    1.811879] 7ca0: 00000141 0000ef53 0000000a c08e9f64 c08ea714 c0906ab8 00000001 cfd8626c
[    1.811886] 7cc0: cfd86260 c08e9e5c 00000000 0000000f 00000000 00000100 c08ea714 00000141
[    1.811893] 7ce0: 000202d2 00000000 ffffffff cf047d78 cfd86260 00000000 00108039 000002d2
[    1.811900] 7d00: 00000000 c08ac1ac c08ea710 00000141 000000d2 cf444a00 cf047dbc cf047d28
[    1.811907] 7d20: c00b91c0 c00b8648 cf047d8c cf047d38 c00e1120 c062d604 c08ef6a8 00000000
[    1.811914] 7d40: cf449140 d0800000 d0821000 00000000 00000001 d0800000 c00625a8 c0057d98
[    1.811920] 7d60: 00000006 00021000 00000022 00000001 000000d2 d0800000 c08ea710 00000000
[    1.811927] 7d80: c08e9b94 00000000 00000000 00000001 c00ecfa4 00000002 cf449100 000002d2
[    1.811934] 7da0: ffffffff 00000010 000000d2 cf444a00 cf047dfc cf047dc0 c00e21f4 c00b90d8
[    1.811941] 7dc0: ff000000 ffffffff 000000d2 c043587c c08a202c ffffffff cf429800 00000000
[    1.811948] 7de0: cf026000 cf429800 00000840 000007ff cf047e2c cf047e00 c00e2364 c00e2120
[    1.811955] 7e00: 000000d2 0000024f 00000000 ffffffff c043587c c062d7f0 cf429800 fffff800
[    1.811962] 7e20: cf047e44 cf047e30 c00e23a4 c00e2328 ffffffff c043587c cf047e8c cf047e48
[    1.811969] 7e40: c043587c c00e237c cf047e6c cf047e58 cf047e6c 00000800 c062d7f4 c062c774
[    1.811976] 7e60: cf047e8c 00000000 c08a2030 c08a202c cf429800 c08ee000 c089c418 00000000
[    1.811983] 7e80: cf047ecc cf047e90 c088ced0 c0435224 00000000 c08a813c cf047ec0 c08a2030
[    1.811990] 7ea0: c02c2ec0 c02c2e34 c08ae8a0 c088cce4 c08ae8a0 cf443f80 c08ee000 c089c418
[    1.811997] 7ec0: cf047f4c cf047ed0 c0009684 c088ccf0 cf047efc cf047ee0 cf047f04 cf047ee8
[    1.812004] 7ee0: c0866600 c02bd7d4 c0863528 cffff523 cffff51a c0652158 cf047f4c cf047f08
[    1.812011] 7f00: c004deec c08665f4 c005d2b4 00000007 00000007 cffff524 c07a2da4 00000000
[    1.812018] 7f20: c006054c 00000007 c089c414 c08ee000 c08a813c c08ee000 c089c418 c08665e8
[    1.812025] 7f40: cf047f94 cf047f50 c0866e08 c0009608 00000007 00000007 c08665e8 00000000
[    1.812031] 7f60: 00000000 000000a3 00000000 00000000 c0625d64 00000000 00000000 00000000
[    1.812038] 7f80: 00000000 00000000 cf047fac cf047f98 c0625d74 c0866d18 00000000 c0625d64
[    1.812045] 7fa0: 00000000 cf047fb0 c000f8a8 c0625d70 00000000 00000000 00000000 00000000
[    1.812051] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.812058] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    1.812060] Backtrace: 
[    1.812073] [<c0086a90>] (exit_pi_state_list) from [<c0033444>] (mm_release+0xe8/0x108)
[    1.812082]  r9:00000001 r8:00000000 r7:00000001 r6:c08afe00 r5:0000000b r4:cf04c000
[    1.812091] [<c003335c>] (mm_release) from [<c00378ac>] (do_exit+0x63c/0x8f8)
[    1.812097]  r6:c08afe00 r5:0000000b r4:cf04c000
[    1.812110] [<c0037270>] (do_exit) from [<c0012fa0>] (die+0x2f4/0x38c)
[    1.812113]  r7:60000113
[    1.812122] [<c0012cac>] (die) from [<c0626720>] (__do_kernel_fault.part.0+0x5c/0x7c)
[    1.812132]  r10:00000000 r9:c08bb948 r8:00000000 r7:00000000 r6:00000005 r5:cf047bf8
[    1.812135]  r4:00000000
[    1.812146] [<c06266c4>] (__do_kernel_fault.part.0) from [<c062e3e8>] (do_page_fault+0x244/0x438)
[    1.812151]  r7:00000000 r4:cf047bf8
[    1.812158] [<c062e1a4>] (do_page_fault) from [<c062e694>] (do_translation_fault+0xb8/0xc0)
[    1.812167]  r10:00000000 r9:c08bb948 r8:cf047bf8 r7:00000000 r6:c062e5dc r5:00000005
[    1.812170]  r4:00000005
[    1.812177] [<c062e5dc>] (do_translation_fault) from [<c00092a4>] (do_DataAbort+0x3c/0xbc)
[    1.812185]  r7:00000000 r6:c062e5dc r5:00000005 r4:c08b01c4
[    1.812192] [<c0009268>] (do_DataAbort) from [<c062dae0>] (__dabt_svc+0x40/0x60)
[    1.812195] Exception stack(0xcf047bf8 to 0xcf047c40)
[    1.812199] 7be0:                                                       c08e9b94 00000001
[    1.812206] 7c00: c08e9c1c 00000034 00000000 00000000 00000000 cffd2ae8 00000000 c08bb948
[    1.812213] 7c20: 00000000 cf047c9c cf047ca0 cf047c40 c00b8d28 c00b822c a0000113 ffffffff
[    1.812222]  r8:00000000 r7:cf047c2c r6:ffffffff r5:a0000113 r4:c00b822c
[    1.812236] [<c00b81a8>] (__rmqueue) from [<c00b8d28>] (get_page_from_freelist+0x6ec/0x944)
[    1.812246]  r10:c08e9b94 r9:c08bb948 r8:00000000 r7:cffd2ae8 r6:00000000 r5:00000001
[    1.812249]  r4:0000000f
[    1.812258] [<c00b863c>] (get_page_from_freelist) from [<c00b91c0>] (__alloc_pages_nodemask+0xf4/0x84c)
[    1.812268]  r10:cf444a00 r9:000000d2 r8:00000141 r7:c08ea710 r6:c08ac1ac r5:00000000
[    1.812271]  r4:000002d2
[    1.812280] [<c00b90cc>] (__alloc_pages_nodemask) from [<c00e21f4>] (__vmalloc_node_range+0xe0/0x208)
[    1.812290]  r10:cf444a00 r9:000000d2 r8:00000010 r7:ffffffff r6:000002d2 r5:cf449100
[    1.812293]  r4:00000002
[    1.812301] [<c00e2114>] (__vmalloc_node_range) from [<c00e2364>] (__vmalloc_node+0x48/0x54)
[    1.812310]  r10:000007ff r9:00000840 r8:cf429800 r7:cf026000 r6:00000000 r5:cf429800
[    1.812313]  r4:ffffffff
[    1.812321] [<c00e231c>] (__vmalloc_node) from [<c00e23a4>] (vmalloc+0x34/0x40)
[    1.812324]  r4:fffff800
[    1.812334] [<c00e2370>] (vmalloc) from [<c043587c>] (ubi_attach_mtd_dev+0x664/0xcf0)
[    1.812343] [<c0435218>] (ubi_attach_mtd_dev) from [<c088ced0>] (ubi_init+0x1ec/0x2a8)
[    1.812353]  r10:00000000 r9:c089c418 r8:c08ee000 r7:cf429800 r6:c08a202c r5:c08a2030
[    1.812356]  r4:00000000
[    1.812363] [<c088cce4>] (ubi_init) from [<c0009684>] (do_one_initcall+0x88/0x1e0)
[    1.812373]  r9:c089c418 r8:c08ee000 r7:cf443f80 r6:c08ae8a0 r5:c088cce4 r4:c08ae8a0
[    1.812380] [<c00095fc>] (do_one_initcall) from [<c0866e08>] (kernel_init_freeable+0xfc/0x1c0)
[    1.812390]  r10:c08665e8 r9:c089c418 r8:c08ee000 r7:c08a813c r6:c08ee000 r5:c089c414
[    1.812393]  r4:00000007
[    1.812400] [<c0866d0c>] (kernel_init_freeable) from [<c0625d74>] (kernel_init+0x10/0xf4)
[    1.812409]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0625d64
[    1.812412]  r4:00000000
[    1.812420] [<c0625d64>] (kernel_init) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
[    1.812425]  r5:c0625d64 r4:00000000
[    1.812431] Code: e1550007 0a000037 e2853020 e24bc030 (e8930007) 
[    1.812436] ---[ end trace 0000000000000003 ]---
[    1.812440] Fixing recursive fault but reboot is needed!
[    3.631045]  remoteproc0: Falling back to user helper

其中uboot的必要启动参数如下:

bootcmd=run updatesys; run nandboot
updatesys=if mmc rescan; then if fatload mmc 0 0x80000000 wp_system_update.txt; then run mmc2nand; fi; fi;
mmc2nand=mmc rescan;nand erase.chip;load mmc 0 0x81000000 MLO;nand write 0x81000000 NAND.SPL;nand write 0x81000000 NAND.SPL.backup1;nand write 0x81000000 NAND.SPL.backup2;nand write 0x81000000 NAND.SPL.backup3;load mmc 0 0x81000000 u-boot.img;nand write 0x81000000 NAND.u-boot;load mmc 0 0x81000000 am335x-evm.dtb;nand write 0x81000000 NAND.u-boot-spl-os;load mmc 0 0x81000000 zImage;nand write 0x81000000 NAND.kernel;load mmc 0 0x81000000 base.ubi;nand write 0x81000000 NAND.file-system 0x8000000; 
nandboot=echo Booting from nand ...; run nandargs; nand read 0x88000000 NAND.u-boot-spl-os; nand read 0x82000000 NAND.kernel; bootz 0x82000000 - 0x88000000
nandargs=setenv bootargs console=ttyO0,115200n8  root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1

ubi的相关参数如下图:

ubinize.cfg
[ubifs]
    mode=ubi
    image=ubifs.img
    vol_id=0
    vol_size=200MiB
    vol_type=dynamic
    vol_name=rootfs
    vol_flags=autoresize


mkfs.ubifs -r rootfs -m 2048 -e 126976 -c 2000 -o ubifs.img -F -U
ubinize -o base.ubi -m 2048 -p 128KiB ubinize.cfg

  • 请问sdk版本是什么?
  • sdk版本是ti-processor-sdk-linux-rt-am335x-evm-02.00.02.11

    目前还是定位不到问题出现在哪里
  • 这里还有一些出错的问题,就经常报错的信息都不一样,想请教一下是哪里的问题,前面都是一样的,我就把报错的部分贴出来

    [    1.492185] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    1.492197] cpu cpu0: cpu0 clock notifier not ready, retry
    [    1.492541] ThumbEE CPU extension supported.
    [    1.492570] Registering SWP/SWPB emulation handler
    [    1.501595] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.501610] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.503393] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.503397] nand: Micron MT29F2G08ABAEAWP
    [    1.503404] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.503437] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.503535] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.503540] Creating 10 MTD partitions on "8000000.nand":
    [    1.503557] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.504929] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.506002] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.509733] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.510855] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.519076] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.520576] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.521693] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.522805] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.890308]  remoteproc0: Falling back to user helper
    [    1.920124] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 60
    [    1.931077] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 62
    [    1.941518] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 63
    [    1.977801] ubi0 error: check_corruption: PEB 88 contains corrupted VID header, and the data does not contain all 0xFF
    [    1.991226] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.006391] Volume identifier header dump:
    [    2.011527]  magic     55424921
    [    2.015463]  version   1
    [    2.018633]  vol_type  1
    [    2.021804]  copy_flag 0
    [    2.024975]  compat    0
    [    2.028145]  vol_id    0
    [    2.031316]  lnum      86
    [    2.034597]  data_size 0
    [    2.037768]  used_ebs  0
    [    2.040939]  data_pad  0
    [    2.044110]  sqnum     0
    [    2.047281]  hdr_crc   d2d9780b
    [    2.051215] Volume identifier header hexdump:
    [    2.056702] hexdump of PEB 88 offset 4096, length 126976
    [    2.112164] ubi0 error: check_corruption: PEB 93 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.125600] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.140766] Volume identifier header dump:
    [    2.145901]  magic     55424921
    [    2.149836]  version   1
    [    2.153008]  vol_type  1
    [    2.156177]  copy_flag 0
    [    2.159349]  compat    0
    [    2.162520]  vol_id    0
    [    2.165690]  lnum      91
    [    2.168970]  data_size 0
    [    2.172141]  used_ebs  0
    [    2.175311]  data_pad  0
    [    2.178481]  sqnum     0
    [    2.181652]  hdr_crc   8e62aa13
    [    2.185586] Volume identifier header hexdump:
    [    2.191071] hexdump of PEB 93 offset 4096, length 126976
    [    2.244424] ubi0 error: check_corruption: PEB 94 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.257855] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.273020] Volume identifier header dump:
    [    2.278155]  magic     55424921
    [    2.282090]  version   1
    [    2.285261]  vol_type  1
    [    2.288431]  copy_flag 0
    [    2.291602]  compat    0
    [    2.294773]  vol_id    0
    [    2.297943]  lnum      92
    [    2.301223]  data_size 0
    [    2.304394]  used_ebs  0
    [    2.307563]  data_pad  0
    [    2.310735]  sqnum     0
    [    2.313906]  hdr_crc   52627f75
    [    2.317840] Volume identifier header hexdump:
    [    2.323323] hexdump of PEB 94 offset 4096, length 126976
    [    2.377532] ubi0 error: check_corruption: PEB 97 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.390964] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.406132] Volume identifier header dump:
    [    2.411268]  magic     55424921
    [    2.415203]  version   1
    [    2.418372]  vol_type  1
    [    2.421544]  copy_flag 0
    [    2.424715]  compat    0
    [    2.427885]  vol_id    0
    [    2.431056]  lnum      95
    [    2.434336]  data_size 0
    [    2.437506]  used_ebs  0
    [    2.440677]  data_pad  0
    [    2.443848]  sqnum     0
    [    2.447018]  hdr_crc   6da901e0
    [    2.450952] Volume identifier header hexdump:
    [    2.456437] hexdump of PEB 97 offset 4096, length 126976
    [    2.509584] ubi0 error: check_corruption: PEB 98 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.523016] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.538181] Volume identifier header dump:
    [    2.543318]  magic     55424921
    [    2.547252]  version   1
    [    2.550423]  vol_type  1
    [    2.553593]  copy_flag 0
    [    2.556763]  compat    0
    [    2.559935]  vol_id    0
    [    2.563106]  lnum      96
    [    2.566385]  data_size 0
    [    2.569557]  used_ebs  0
    [    2.572728]  data_pad  0
    [    2.575898]  sqnum     0
    [    2.579070]  hdr_crc   e71a60f3
    [    2.583005] Volume identifier header hexdump:
    [    2.588487] hexdump of PEB 98 offset 4096, length 126976
    [    2.642072] ubi0 error: check_corruption: PEB 100 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.655613] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.670777] Volume identifier header dump:
    [    2.675913]  magic     55424921
    [    2.679848]  version   1
    [    2.683019]  vol_type  1
    [    2.686189]  copy_flag 0
    [    2.689360]  compat    0
    [    2.692531]  vol_id    0
    [    2.695701]  lnum      98
    [    2.698982]  data_size 0
    [    2.702154]  used_ebs  0
    [    2.705323]  data_pad  0
    [    2.708494]  sqnum     0
    [    2.711666]  hdr_crc   7b47362a
    [    2.715601] Volume identifier header hexdump:
    [    2.721086] hexdump of PEB 100 offset 4096, length 126976
    [    2.775898] ubi0 error: check_corruption: PEB 104 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.789440] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.804606] Volume identifier header dump:
    [    2.809742]  magic     55424921
    [    2.813677]  version   1
    [    2.816847]  vol_type  1
    [    2.820018]  copy_flag 0
    [    2.823188]  compat    0
    [    2.826359]  vol_id    0
    [    2.829530]  lnum      102
    [    2.832919]  data_size 0
    [    2.836089]  used_ebs  0
    [    2.839260]  data_pad  0
    [    2.842431]  sqnum     0
    [    2.845601]  hdr_crc   988c9dd9
    [    2.849535] Volume identifier header hexdump:
    [    2.855020] hexdump of PEB 104 offset 4096, length 126976
    [    2.913704] ubi0 error: check_corruption: PEB 116 contains corrupted VID header, and the data does not contain all 0xFF
    [    2.927246] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    2.942411] Volume identifier header dump:
    [    2.947547]  magic     55424921
    [    2.951481]  version   1
    [    2.954652]  vol_type  1
    [    2.957822]  copy_flag 0
    [    2.960994]  compat    0
    [    2.964166]  vol_id    0
    [    2.967335]  lnum      114
    [    2.970726]  data_size 0
    [    2.973897]  used_ebs  0
    [    2.977067]  data_pad  0
    [    2.980238]  sqnum     0
    [    2.983409]  hdr_crc   428b9564
    [    2.987342] Volume identifier header hexdump:
    [    2.992825] hexdump of PEB 116 offset 4096, length 126976
    [    3.051094] ubi0 error: check_corruption: PEB 127 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.064639] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.079806] Volume identifier header dump:
    [    3.084940]  magic     55424921
    [    3.088875]  version   1
    [    3.092046]  vol_type  1
    [    3.095216]  copy_flag 0
    [    3.098385]  compat    0
    [    3.101557]  vol_id    0
    [    3.104729]  lnum      125
    [    3.108117]  data_size 0
    [    3.111288]  used_ebs  0
    [    3.114459]  data_pad  0
    [    3.117629]  sqnum     0
    [    3.120800]  hdr_crc   826d11a5
    [    3.124735] Volume identifier header hexdump:
    [    3.130222] hexdump of PEB 127 offset 4096, length 126976
    [    3.183427] ubi0 error: check_corruption: PEB 128 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.196967] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.212133] Volume identifier header dump:
    [    3.217266]  magic     55424921
    [    3.221201]  version   1
    [    3.224372]  vol_type  1
    [    3.227542]  copy_flag 0
    [    3.230712]  compat    0
    [    3.233883]  vol_id    0
    [    3.237053]  lnum      126
    [    3.240442]  data_size 0
    [    3.243613]  used_ebs  0
    [    3.246783]  data_pad  0
    [    3.249954]  sqnum     0
    [    3.253125]  hdr_crc   bda66f30
    [    3.257058] Volume identifier header hexdump:
    [    3.262541] hexdump of PEB 128 offset 4096, length 126976
    [    3.322773] ubi0 error: check_corruption: PEB 143 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.336314] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.351480] Volume identifier header dump:
    [    3.356616]  magic     55424921
    [    3.360551]  version   1
    [    3.363722]  vol_type  1
    [    3.366892]  copy_flag 0
    [    3.370062]  compat    0
    [    3.373233]  vol_id    0
    [    3.376403]  lnum      141
    [    3.379793]  data_size 0
    [    3.382964]  used_ebs  0
    [    3.386134]  data_pad  0
    [    3.389305]  sqnum     0
    [    3.392476]  hdr_crc   3a1e657e
    [    3.396410] Volume identifier header hexdump:
    [    3.401894] hexdump of PEB 143 offset 4096, length 126976
    [    3.472731] ubi0 error: check_corruption: PEB 179 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.486272] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.501438] Volume identifier header dump:
    [    3.506573]  magic     55424921
    [    3.510507]  version   1
    [    3.513678]  vol_type  1
    [    3.516847]  copy_flag 0
    [    3.520018]  compat    0
    [    3.523190]  vol_id    0
    [    3.526360]  lnum      177
    [    3.529748]  data_size 0
    [    3.532919]  used_ebs  0
    [    3.536089]  data_pad  0
    [    3.539260]  sqnum     0
    [    3.542431]  hdr_crc   8f667af8
    [    3.546365] Volume identifier header hexdump:
    [    3.551849] hexdump of PEB 179 offset 4096, length 126976
    [    3.605020] ubi0 error: check_corruption: PEB 180 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.618562] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.633727] Volume identifier header dump:
    [    3.638864]  magic     55424921
    [    3.642798]  version   1
    [    3.645968]  vol_type  1
    [    3.649139]  copy_flag 0
    [    3.652309]  compat    0
    [    3.655480]  vol_id    0
    [    3.658668]  lnum      178
    [    3.662057]  data_size 0
    [    3.665227]  used_ebs  0
    [    3.668397]  data_pad  0
    [    3.671568]  sqnum     0
    [    3.674738]  hdr_crc   b0ad046d
    [    3.678672] Volume identifier header hexdump:
    [    3.684156] hexdump of PEB 180 offset 4096, length 126976
    [    3.728996] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 192
    [    3.739556] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 193
    [    3.750104] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 194
    [    3.760652] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 195
    [    3.786971] ubi0 error: check_corruption: PEB 200 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.800503] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.815668] Volume identifier header dump:
    [    3.820803]  magic     55424921
    [    3.824737]  version   1
    [    3.827907]  vol_type  1
    [    3.831077]  copy_flag 0
    [    3.834248]  compat    0
    [    3.837418]  vol_id    0
    [    3.840590]  lnum      198
    [    3.843979]  data_size 0
    [    3.847149]  used_ebs  0
    [    3.850320]  data_pad  0
    [    3.853491]  sqnum     0
    [    3.856661]  hdr_crc   fe01c774
    [    3.860595] Volume identifier header hexdump:
    [    3.866079] hexdump of PEB 200 offset 4096, length 126976
    [    3.920364] ubi0 error: check_corruption: PEB 203 contains corrupted VID header, and the data does not contain all 0xFF
    [    3.933908] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    3.949074] Volume identifier header dump:
    [    3.954210]  magic     55424921
    [    3.958144]  version   1
    [    3.961315]  vol_type  1
    [    3.964486]  copy_flag 0
    [    3.967656]  compat    0
    [    3.970827]  vol_id    0
    [    3.973998]  lnum      201
    [    3.977386]  data_size 0
    [    3.980558]  used_ebs  0
    [    3.983728]  data_pad  0
    [    3.986898]  sqnum     0
    [    3.990070]  hdr_crc   3ee743b5
    [    3.994003] Volume identifier header hexdump:
    [    3.999487] hexdump of PEB 203 offset 4096, length 126976
    [    4.054313] ubi0 error: check_corruption: PEB 207 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.067856] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.083022] Volume identifier header dump:
    [    4.088158]  magic     55424921
    [    4.092093]  version   1
    [    4.095264]  vol_type  1
    [    4.098434]  copy_flag 0
    [    4.101605]  compat    0
    [    4.104776]  vol_id    0
    [    4.107946]  lnum      205
    [    4.111336]  data_size 0
    [    4.114507]  used_ebs  0
    [    4.117676]  data_pad  0
    [    4.120847]  sqnum     0
    [    4.124019]  hdr_crc   dd2ce846
    [    4.127951] Volume identifier header hexdump:
    [    4.133433] hexdump of PEB 207 offset 4096, length 126976
    [    4.179525] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 221
    [    4.190585] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 223
    [    4.215922] ubi0 error: check_corruption: PEB 226 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.229457] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.244621] Volume identifier header dump:
    [    4.249756]  magic     55424921
    [    4.253692]  version   1
    [    4.256861]  vol_type  1
    [    4.260032]  copy_flag 0
    [    4.263204]  compat    0
    [    4.266373]  vol_id    0
    [    4.269545]  lnum      224
    [    4.272934]  data_size 0
    [    4.276104]  used_ebs  0
    [    4.279275]  data_pad  0
    [    4.282446]  sqnum     0
    [    4.285617]  hdr_crc   f20e7cc2
    [    4.289550] Volume identifier header hexdump:
    [    4.295035] hexdump of PEB 226 offset 4096, length 126976
    [    4.350148] ubi0 error: check_corruption: PEB 231 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.363689] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.378855] Volume identifier header dump:
    [    4.383991]  magic     55424921
    [    4.387924]  version   1
    [    4.391095]  vol_type  1
    [    4.394266]  copy_flag 0
    [    4.397436]  compat    0
    [    4.400607]  vol_id    0
    [    4.403778]  lnum      229
    [    4.407166]  data_size 0
    [    4.410338]  used_ebs  0
    [    4.413508]  data_pad  0
    [    4.416678]  sqnum     0
    [    4.419850]  hdr_crc   b253ff7d
    [    4.423784] Volume identifier header hexdump:
    [    4.429269] hexdump of PEB 231 offset 4096, length 126976
    [    4.482527] ubi0 error: check_corruption: PEB 232 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.496069] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.511235] Volume identifier header dump:
    [    4.516372]  magic     55424921
    [    4.520307]  version   1
    [    4.523478]  vol_type  1
    [    4.526648]  copy_flag 0
    [    4.529820]  compat    0
    [    4.532991]  vol_id    0
    [    4.536161]  lnum      230
    [    4.539550]  data_size 0
    [    4.542722]  used_ebs  0
    [    4.545892]  data_pad  0
    [    4.549063]  sqnum     0
    [    4.552234]  hdr_crc   8d9881e8
    [    4.556166] Volume identifier header hexdump:
    [    4.561652] hexdump of PEB 232 offset 4096, length 126976
    [    4.615404] ubi0 error: check_corruption: PEB 233 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.628947] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.644113] Volume identifier header dump:
    [    4.649249]  magic     55424921
    [    4.653182]  version   1
    [    4.656352]  vol_type  1
    [    4.659524]  copy_flag 0
    [    4.662695]  compat    0
    [    4.665865]  vol_id    0
    [    4.669035]  lnum      231
    [    4.672425]  data_size 0
    [    4.675595]  used_ebs  0
    [    4.678766]  data_pad  0
    [    4.681937]  sqnum     0
    [    4.685107]  hdr_crc   2e0ea9a4
    [    4.689041] Volume identifier header hexdump:
    [    4.694523] hexdump of PEB 233 offset 4096, length 126976
    [    4.748362] ubi0 error: check_corruption: PEB 235 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.761904] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.777068] Volume identifier header dump:
    [    4.782203]  magic     55424921
    [    4.786137]  version   1
    [    4.789309]  vol_type  1
    [    4.792480]  copy_flag 0
    [    4.795650]  compat    0
    [    4.798822]  vol_id    0
    [    4.801995]  lnum      233
    [    4.805383]  data_size 0
    [    4.808552]  used_ebs  0
    [    4.811724]  data_pad  0
    [    4.814896]  sqnum     0
    [    4.818066]  hdr_crc   4d7e0529
    [    4.822000] Volume identifier header hexdump:
    [    4.827484] hexdump of PEB 235 offset 4096, length 126976
    [    4.881138] ubi0 error: check_corruption: PEB 237 contains corrupted VID header, and the data does not contain all 0xFF
    [    4.894679] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    4.909845] Volume identifier header dump:
    [    4.914980]  magic     55424921
    [    4.918915]  version   1
    [    4.922086]  vol_type  1
    [    4.925256]  copy_flag 0
    [    4.928425]  compat    0
    [    4.931596]  vol_id    0
    [    4.934768]  lnum      235
    [    4.938156]  data_size 0
    [    4.941328]  used_ebs  0
    [    4.944499]  data_pad  0
    [    4.947668]  sqnum     0
    [    4.950840]  hdr_crc   d12353f0
    [    4.954775] Volume identifier header hexdump:
    [    4.960261] hexdump of PEB 237 offset 4096, length 126976
    [    5.014988] ubi0 error: check_corruption: PEB 241 contains corrupted VID header, and the data does not contain all 0xFF
    [    5.028527] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    5.043692] Volume identifier header dump:
    [    5.048829]  magic     55424921
    [    5.052763]  version   1
    [    5.055933]  vol_type  1
    [    5.059103]  copy_flag 0
    [    5.062274]  compat    0
    [    5.065444]  vol_id    0
    [    5.068614]  lnum      239
    [    5.072003]  data_size 0
    [    5.075174]  used_ebs  0
    [    5.078344]  data_pad  0
    [    5.081515]  sqnum     0
    [    5.084686]  hdr_crc   32e8f803
    [    5.088620] Volume identifier header hexdump:
    [    5.094102] hexdump of PEB 241 offset 4096, length 126976
    [    5.148374] ubi0 error: check_corruption: PEB 244 contains corrupted VID header, and the data does not contain all 0xFF
    [    5.161915] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    5.177081] Volume identifier header dump:
    [    5.182218]  magic     55424921
    [    5.186152]  version   1
    [    5.189324]  vol_type  1
    [    5.192495]  copy_flag 0
    [    5.195664]  compat    0
    [    5.198836]  vol_id    0
    [    5.202007]  lnum      242
    [    5.205395]  data_size 0
    [    5.208565]  used_ebs  0
    [    5.211736]  data_pad  0
    [    5.214907]  sqnum     0
    [    5.218077]  hdr_crc   579f8955
    [    5.222010] Volume identifier header hexdump:
    [    5.227492] hexdump of PEB 244 offset 4096, length 126976
    [    5.281272] ubi0 error: check_corruption: PEB 246 contains corrupted VID header, and the data does not contain all 0xFF
    [    5.294816] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    5.309981] Volume identifier header dump:
    [    5.315116]  magic     55424921
    [    5.319051]  version   1
    [    5.322222]  vol_type  1
    [    5.325392]  copy_flag 0
    [    5.328561]  compat    0
    [    5.331732]  vol_id    0
    [    5.334903]  lnum      244
    [    5.338291]  data_size 0
    [    5.341462]  used_ebs  0
    [    5.344633]  data_pad  0
    [    5.347803]  sqnum     0
    [    5.350974]  hdr_crc   2809747f
    [    5.354909] Volume identifier header hexdump:
    [    5.360392] hexdump of PEB 246 offset 4096, length 126976
    [    5.408959] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 265
    [    5.419523] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 266
    [    5.454358] ubi0 error: check_corruption: PEB 288 contains corrupted VID header, and the data does not contain all 0xFF
    [    5.467892] ubi0 error: check_corruption: this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
    [    5.483057] Volume identifier header dump:
    [    5.488192]  magic     55424921
    [    5.492127]  version   1
    [    5.495298]  vol_type  1
    [    5.498468]  copy_flag 0
    [    5.501639]  compat    0
    [    5.504810]  vol_id    0
    [    5.507980]  lnum      286
    [    5.511370]  data_size 0
    [    5.514541]  used_ebs  0
    [    5.517711]  data_pad  0
    [    5.520882]  sqnum     0
    [    5.524053]  hdr_crc   56c43f07
    [    5.527987] Volume identifier header hexdump:
    [    5.533471] hexdump of PEB 288 offset 4096, length 126976
    [    5.938729] swapper invoked oom-killer: gfp_mask=0x2000d0, order=0, oom_score_adj=0
    [    5.948360] CPU: 0 PID: 1 Comm: swapper Not tainted 4.1.18-rt17-g4415f52 #3
    [    5.957093] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    5.964738] Backtrace: 
    [    5.967853] [<c0012a88>] (dump_backtrace) from [<c0012ca8>] (show_stack+0x18/0x1c)
    [    5.977351]  r7:00000000 r6:002000d0 r5:00000000 r4:00000000
    [    5.984497] [<c0012c90>] (show_stack) from [<c0628f68>] (dump_stack+0x20/0x28)
    [    5.993566] [<c0628f48>] (dump_stack) from [<c0627030>] (dump_header+0x88/0x1ac)
    [    6.002866] [<c0626fa8>] (dump_header) from [<c00b4da8>] (__out_of_memory+0x370/0x394)
    [    6.012801]  r10:c08aebd4 r9:00000000 r8:00000000 r7:002000d0 r6:0000f41d r5:00000000
    [    6.022660]  r4:00000000
    [    6.025844] [<c00b4a38>] (__out_of_memory) from [<c00b4f98>] (out_of_memory+0x58/0x78)
    [    6.035777]  r10:00000040 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:002000d0
    [    6.045634]  r4:c08ea710
    [    6.048826] [<c00b4f40>] (out_of_memory) from [<c00b9850>] (__alloc_pages_nodemask+0x784/0x84c)
    [    6.059742]  r8:00000000 r7:00000000 r6:c08ac1ac r5:00000000 r4:002000d0
    [    6.068189] [<c00b90cc>] (__alloc_pages_nodemask) from [<c00eb1d4>] (allocate_slab+0x238/0x360)
    [    6.079104]  r10:cf015780 r9:c090b078 r8:00000000 r7:00000055 r6:002000d0 r5:00000000
    [    6.088959]  r4:cf015780
    [    6.092143] [<c00eaf9c>] (allocate_slab) from [<c00ecf14>] (__slab_alloc.constprop.1+0x300/0x374)
    [    6.103275]  r10:cf015780 r9:60000113 r8:cf047d18 r7:cfd86a20 r6:cf046000 r5:00000000
    [    6.113130]  r4:00000000
    [    6.116311] [<c00ecc14>] (__slab_alloc.constprop.1) from [<c00ed2d8>] (kmem_cache_alloc+0x12c/0x1fc)
    [    6.127769]  r10:c0921cfc r9:000003fc r8:000000d0 r7:c090b078 r6:00000000 r5:cf046000
    [    6.137626]  r4:cf015780
    [    6.140816] [<c00ed1ac>] (kmem_cache_alloc) from [<c044015c>] (add_to_list+0x5c/0xc8)
    [    6.150639]  r9:cf444a80 r8:ffffffff r7:000003fc r6:ffffffff r5:00000001 r4:cf444a94
    [    6.160391] [<c0440100>] (add_to_list) from [<c0440f78>] (ubi_attach+0x3dc/0x14fc)
    [    6.169887]  r9:cf444a80 r8:00000003 r7:ffffffff r6:ffffffff r5:cf026000 r4:000003fc
    [    6.179651] [<c0440b9c>] (ubi_attach) from [<c0435894>] (ubi_attach_mtd_dev+0x67c/0xcf0)
    [    6.189801]  r10:000007ff r9:00000840 r8:cf429800 r7:cf026000 r6:00000000 r5:cf429800
    [    6.199656]  r4:fffff800
    [    6.202852] [<c0435218>] (ubi_attach_mtd_dev) from [<c088ced0>] (ubi_init+0x1ec/0x2a8)
    [    6.212784]  r10:00000000 r9:c089c418 r8:c08ee000 r7:cf429800 r6:c08a202c r5:c08a2030
    [    6.222642]  r4:00000000
    [    6.225827] [<c088cce4>] (ubi_init) from [<c0009684>] (do_one_initcall+0x88/0x1e0)
    [    6.235323]  r9:c089c418 r8:c08ee000 r7:cf443f80 r6:c08ae8a0 r5:c088cce4 r4:c08ae8a0
    [    6.245076] [<c00095fc>] (do_one_initcall) from [<c0866e08>] (kernel_init_freeable+0xfc/0x1c0)
    [    6.255881]  r10:c08665e8 r9:c089c418 r8:c08ee000 r7:c08a813c r6:c08ee000 r5:c089c414
    [    6.265738]  r4:00000007
    [    6.268923] [<c0866d0c>] (kernel_init_freeable) from [<c0625d74>] (kernel_init+0x10/0xf4)
    [    6.279182]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0625d64
    [    6.289036]  r4:00000000
    [    6.292223] [<c0625d64>] (kernel_init) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
    [    6.301720]  r5:c0625d64 r4:00000000
    [    6.306212] Mem-Info:
    [    6.309072] active_anon:0 inactive_anon:0 isolated_anon:0
    [    6.309072]  active_file:0 inactive_file:0 isolated_file:0
    [    6.309072]  unevictable:0 dirty:0 writeback:0 unstable:0
    [    6.309072]  slab_reclaimable:51 slab_unreclaimable:692
    [    6.309072]  mapped:0 shmem:0 pagetables:1 bounce:0
    [    6.309072]  free:61216 free_pcp:5 free_cma:6080
    [    6.347928] Normal free:244864kB min:1996kB low:2492kB high:2992kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:262144kB managed:249972kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:204kB slab_unreclaimable:2768kB kernel_stack:360kB pagetables:4kB unstable:0kB bounce:0kB free_pcp:20kB local_pcp:20kB free_cma:24320kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
    [    6.401792] lowmem_reserve[]: 0 0 0
    [    6.406188] Normal: 4*4kB (EM) 2*8kB (EM) 4*16kB (EM) 5*32kB (UEM) 2*64kB (UM) 2*128kB (UM) 6*256kB (UEMC) 4*512kB (EMC) 5*1024kB (UEMC) 5*2048kB (UEMC) 5*4096kB (EMC) 25*8192kB (MRC) = 244864kB
    [    6.428050] 0 total pagecache pages
    [    6.432432] 0 pages in swap cache
    [    6.436586] Swap cache stats: add 0, delete 0, find 0/0
    [    6.443136] Free swap  = 0kB
    [    6.446744] Total swap = 0kB
    [    6.450352] 65536 pages RAM
    [    6.453852] 0 pages HighMem/MovableOnly
    [    6.458669] 4294964195 pages reserved
    [    6.463258] 6144 pages cma reserved
    [    6.467628] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
    [    6.478347] Kernel panic - not syncing: Out of memory and no killable processes...
    [    6.478347] 
    [

  • 请问是自制板还是EVM板?
    请将SPL和UBOOT的完整启动信息贴出来,# run updatesys 的输出信息贴出来。
    请确保SDCard FAT分区中有NAND二进制文件和wp_system_update.txt文本文件。
  • 板子是自制板

    不知道你说的完整的启动信息在哪里可以看到,是不是uboot的环境变量

    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am335x
    board_name=CP6000
    board_rev=1.00
    board_serial=#20160101
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; bootefi ${kernel_addr_r}
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
    boot_fdt=try
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp 
    bootcmd=run updatesys; run nandboot
    bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi
    bootcmd_legacy_mmc0=setenv mmcdev 0; setenv bootpart 0:2 ; run mmcboot
    bootcmd_legacy_mmc1=setenv mmcdev 1; setenv bootpart 1:2 ; run mmcboot
    bootcmd_mmc0=setenv devnum 0; run mmc_boot
    bootcmd_mmc1=setenv devnum 1; run mmc_boot
    bootcmd_nand=run nandboot
    bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi
    bootcount=4
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyO0,115200n8
    cpu=armv7
    dfu_alt_info_emmc=rawemmc raw 0 3751936
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9
    dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=98:5d:ad:dc:fe:cf
    ethact=cpsw
    ethaddr=98:5d:ad:dc:fe:cd
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=8ef1cfb8
    fdtfile=am335x-evm.dtb
    findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then if test $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; else setenv fdtfile am335x-boneblack.dtb; fi; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi; if test $board_name = CP6000; then setenv fdtfile am335x-evm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; 
    finduuid=part uuid mmc 0:2 uuid
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${fdtfile}; fdt addr ${fdt_addr_r}
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
    mmc2nand=mmc rescan;nand erase.chip;load mmc 0 0x81000000 MLO;nand write 0x81000000 NAND.SPL;nand write 0x81000000 NAND.SPL.backup1;nand write 0x81000000 NAND.SPL.backup2;nand write 0x81000000 NAND.SPL.backup3;load mmc 0 0x81000000 u-boot.img;nand write 0x81000000 NAND.u-boot;load mmc 0 0x81000000 am335x-evm.dtb;nand write 0x81000000 NAND.u-boot-spl-os;load mmc 0 0x81000000 zImage;nand write 0x81000000 NAND.kernel;load mmc 0 0x81000000 base.ubi;nand write 0x81000000 NAND.file-system 0x8000000; 
    mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};run envboot; if run loadimage; then run mmcloados;fi;fi;
    mmcdev=0
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
    scan_dev_for_efi=for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; 
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    soc=am33xx
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    spirootfstype=jffs2
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@44e09000
    stdin=serial@44e09000
    stdout=serial@44e09000
    updatesys=if mmc rescan; then if fatload mmc 0 0x80000000 wp_system_update.txt; then run mmc2nand; fi; fi; 
    usbnet_devaddr=98:5d:ad:dc:fe:cf
    vendor=ti
    ver=U-Boot 2016.03 (Jun 17 2020 - 16:12:47 +0800)

    run updatesys,我没有插sd卡

    => run updatesys 
    Card did not respond to voltage select!

    sd卡是有对应的ubi二进制文件和wp_system_update.txt文件的