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.

[参考译文] AM3352:AM3352 -内核严重错误-未同步:VFS:无法在未知块(0、0)上安装根 FS

Guru**** 2550820 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1188985/am3352-am3352---kernel-panic---not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block-0-0

器件型号:AM3352

您好、支持团队、

定制板

- Nand FLASH: MT29F2G08ABAEAWP

-DDR:MT41K128M16JT

修改了源代码: am335x-evmsk.dts、 am335x_evm.h、board.c、board.h

在我们的定制板上载 SDK 时、引导期间会发生内核严重错误、如下所示。

您能指导我解决方案吗?

U-Boot 2021.01-00001-gc59bf25a38-dirty (Jan 20 2023 - 10:46:52 +0900)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM-SK
DRAM:  256 MiB
WDT:   Started with servicing (60s timeout)
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
Net:   eth2: ethernet@4a100000
Hit any key to stop autoboot:  0
Booting from nand ...

NAND read: device 0 offset 0x80000, size 0x40000
 262144 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x800000
 8388608 bytes read: OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8df2c000, end 8df3eeab ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.100-g7a7a3af903 (root@ssc-VirtualBox) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #2 PREEMPT Thu Jan 19 18:08:43 KST 2023
[    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] OF: fdt: Machine model: TI AM335x EVM-SK
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x8a800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fefffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fefffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64706
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 192728K/261120K available (10240K kernel code, 695K rwdata, 3404K rodata, 1024K init, 280K bss, 19240K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] random: get_random_bytes called from start_kernel+0x30c/0x4c8 with crng_init=0
[    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[    0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000070] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000885] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.003578] Console: colour dummy device 80x30
[    0.003738] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070975] pid_max: default: 32768 minimum: 301
[    0.071362] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071407] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.073329] CPU: Testing write buffer coherency: ok
[    0.073482] CPU0: Spectre v2: using BPIALL workaround
[    0.075311] Setting up static identity map for 0x80100000 - 0x80100060
[    0.075661] rcu: Hierarchical SRCU implementation.
[    0.075887] EFI services will not be available.
[    0.076593] devtmpfs: initialized
[    0.105345] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.105919] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.105976] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.112936] pinctrl core: initialized pinctrl subsystem
[    0.114954] DMI not present or invalid.
[    0.115924] NET: Registered protocol family 16
[    0.121550] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.149632] l3-aon-clkctrl:0000:0: failed to disable
[    0.152498] thermal_sys: Registered thermal governor 'fair_share'
[    0.152523] thermal_sys: Registered thermal governor 'bang_bang'
[    0.152559] thermal_sys: Registered thermal governor 'step_wise'
[    0.152581] thermal_sys: Registered thermal governor 'user_space'
[    0.153300] cpuidle: using governor ladder
[    0.153394] cpuidle: using governor menu
[    2.560995] random: fast init done
[    3.523807] No ATAGs?
[    3.523863] hw-breakpoint: debug architecture 0x4 unsupported.
[    3.591740] v1_8d: supplied by vbat
[    3.593364] v3_3d: supplied by vbat
[    3.596204] iommu: Default domain type: Translated
[    3.602688] SCSI subsystem initialized
[    3.603918] mc: Linux media interface: v0.10
[    3.604031] videodev: Linux video capture interface: v2.00
[    3.604318] pps_core: LinuxPPS API ver. 1 registered
[    3.604348] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.604413] PTP clock support registered
[    3.604563] EDAC MC: Ver: 3.0.0
[    3.607234] Advanced Linux Sound Architecture Driver Initialized.
[    3.610237] clocksource: Switched to clocksource dmtimer
[    3.630781] NET: Registered protocol family 2
[    3.631181] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    3.633211] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    3.633305] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    3.633388] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    3.633464] TCP: Hash tables configured (established 2048 bind 2048)
[    3.633699] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    3.633763] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    3.634036] NET: Registered protocol family 1
[    3.635219] RPC: Registered named UNIX socket transport module.
[    3.635257] RPC: Registered udp transport module.
[    3.635279] RPC: Registered tcp transport module.
[    3.635299] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.635339] PCI: CLS 0 bytes, default 64
[    3.637325] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    3.640724] Initialise system trusted keyrings
[    3.641212] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.651966] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.653631] NFS: Registering the id_resolver key type
[    3.653726] Key type id_resolver registered
[    3.653752] Key type id_legacy registered
[    3.653968] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.654000] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.654091] ntfs: driver 2.1.32 [Flags: R/O].
[    3.655414] Key type asymmetric registered
[    3.655460] Asymmetric key parser 'x509' registered
[    3.655575] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    3.655607] io scheduler mq-deadline registered
[    3.655631] io scheduler kyber registered
[    4.617587] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    4.825651] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    4.825740] edma 49000000.dma: TI EDMA DMA engine driver
[    4.857582] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    5.001786] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    5.012793] printk: console [ttyS0] disabled
[    5.013247] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 21, base_baud = 3000000) is a 8250
[    5.686395] printk: console [ttyS0] enabled
[    5.694894] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250
[    5.711162] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.720876] random: crng init done
[    5.772694] brd: module loaded
[    5.792987] loop: module loaded
[    5.880362] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    5.891788] mdio_bus 4a101000.mdio: MDIO device at address 1 is missing.
[    5.898576] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
[    5.908591] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[    5.915638] cpsw-switch 4a100000.switch: ALE Table size 1024
[    5.921621] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
[    5.929269] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[    5.940521] cpsw-switch 4a100000.switch: Detected MACID = 68:47:49:b1:e5:25
[    5.947586] cpsw-switch 4a100000.switch: Detected MACID = 68:47:49:b1:e5:27
[    5.958316] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[    5.970841] i2c /dev entries driver
[    5.981152] cpuidle: enable-method property 'ti,am3352' found operations
[    5.989380] sdhci: Secure Digital Host Controller Interface driver
[    5.995744] sdhci: Copyright(c) Pierre Ossman
[    6.003201] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.013569] ledtrig-cpu: registered to indicate activity on CPUs
[    6.031103] NET: Registered protocol family 10
[    6.038445] Segment Routing with IPv6
[    6.042565] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.050073] NET: Registered protocol family 17
[    6.055339] Key type dns_resolver registered
[    6.061033] omap_voltage_late_init: Voltage driver support not added
[    6.068628] Loading compiled-in X.509 certificates
[    6.102535] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    6.107772] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    6.118421] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    6.124954] nand: Micron MT29F2G08ABAEAWP
[    6.129008] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    6.136788] omap2-nand 8000000.nand: using prefetch polled xfer mode
[    6.143417] omap2-nand 8000000.nand: ELM device not found
[    6.148863] omap2-nand 8000000.nand: ELM not available
[    6.154167] omap2-nand: probe of 8000000.nand failed with error -22
[    6.164911] OMAP GPIO hardware version 0.1
[    6.200659] tps65910 0-002d: No interrupt support, no core IRQ
[    6.210425] vrtc: supplied by vbat
[    6.218090] vio: supplied by vbat
[    6.224223] vdd_mpu: supplied by vbat
[    6.230530] vdd_core: supplied by vbat
[    6.238239] vdig1: supplied by vbat
[    6.243794] vdig2: supplied by vbat
[    6.249263] vpll: supplied by vbat
[    6.254696] vdac: supplied by vbat
[    6.260092] vaux1: supplied by vbat
[    6.265624] vaux2: supplied by vbat
[    6.271153] vaux33: supplied by vbat
[    6.276945] vmmc: supplied by vbat
[    6.282757] vbb: supplied by vbat
[    6.289670] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    6.298555] pinctrl-single 44e10800.pinmux: pin PIN85 already requested by 44e10800.pinmux; cannot claim for 4819c000.i2c
[    6.309710] pinctrl-single 44e10800.pinmux: pin-85 (4819c000.i2c) status -22
[    6.316857] pinctrl-single 44e10800.pinmux: could not request pin 85 (PIN85) from group i2c2_pins_default  on device pinctrl-single
[    6.328813] omap_i2c 4819c000.i2c: Error applying setting, reverse things back
[    6.336161] omap_i2c: probe of 4819c000.i2c failed with error -22
[    6.357626] omap_reset_deassert: timedout waiting for gfx:0
[    6.363439] ti-sysc: probe of 5600fe00.target-module failed with error -110
[    6.373049] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 600000000 (-34)
[    6.382487] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 600000 KHz, changing to: 300000 KHz
[    6.397711] UBI error: cannot open mtd NAND.file-system, error -2
[    6.411715] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
[    6.424731] ALSA device list:
[    6.427803]   No soundcards found.
[    6.433945] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[    6.442364] Please append a correct "root=" boot option; here are the available partitions:
[    6.451100] 0100           65536 ram0
[    6.451124]  (driver?)
[    6.457339] 0101           65536 ram1
[    6.457359]  (driver?)
[    6.463678] 0102           65536 ram2
[    6.463698]  (driver?)
[    6.469898] 0103           65536 ram3
[    6.469917]  (driver?)
[    6.476191] 0104           65536 ram4
[    6.476212]  (driver?)
[    6.482568] 0105           65536 ram5
[    6.482591]  (driver?)
[    6.488796] 0106           65536 ram6
[    6.488816]  (driver?)
[    6.495090] 0107           65536 ram7
[    6.495111]  (driver?)
[    6.501376] 0108           65536 ram8
[    6.501396]  (driver?)
[    6.507594] 0109           65536 ram9
[    6.507614]  (driver?)
[    6.513966] 010a           65536 ram10
[    6.513989]  (driver?)
[    6.520350] 010b           65536 ram11
[    6.520372]  (driver?)
[    6.526659] 010c           65536 ram12
[    6.526679]  (driver?)
[    6.533031] 010d           65536 ram13
[    6.533051]  (driver?)
[    6.539335] 010e           65536 ram14
[    6.539354]  (driver?)
[    6.545827] 010f           65536 ram15
[    6.545850]  (driver?)
[    6.552230] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    6.560626] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

请检查。

谢谢你。

S.C.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [6.107772]   GPMC_mem_init:禁用映射在0x0-0x1000000的 CS 0
    [6.118421]   Nand:找到器件、制造商 ID:0x2C、芯片 ID:0xda
    [6.124954]   nand:Micron MT29F2G08ABAEAWP
    [6.129008]   nand:256 mib,SLC,擦除大小:128 KiB,页大小:2048,OOB 大小:64
    [6.136788]   OMAP2-nand 80000.nand:Using prefetch polled xfer mode
    [6.143417]   OMAP2-nand 80000.nand:Elm device not found
    [6.148863]   OMAP2-nand 8000000.nand:Elm 不可用
    [6.154167]   OMAP2-nand:探测器80000.n 失败、错误-22

    内核引导日志显示 NAND 设备初始化失败。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、 刘斌

    我参考了其他 DTS 文件并修改了&GPMC 部件。

    // SPDX-License-Identifier: GPL-2.0-only
    /*
     * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /*
     * AM335x Starter Kit
     * www.ti.com/.../tmdssk3358
     */
    
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM-SK";
    	compatible = "ti,am335x-evmsk", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	chosen {
    		stdout-path = &uart0;
    	};
    
    	vbat: fixedregulator0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
    	/*wl12xx_vmmc: fixedregulator2 {
    		pinctrl-names = "default";
    		pinctrl-0 = <&wl12xx_gpio>;
    		compatible = "regulator-fixed";
    		regulator-name = "vwl1271";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio1 29 0>;
    		startup-delay-us = <70000>;
    		enable-active-high;
    	};*/
    
    	vtt_fixed: fixedregulator3 {
    		compatible = "regulator-fixed";
    		regulator-name = "vtt";
    		regulator-min-microvolt = <1500000>;
    		regulator-max-microvolt = <1500000>;
    		gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
    		regulator-always-on;
    		regulator-boot-on;
    		enable-active-high;
    	};
    
    	/* TPS79518 */
    	v1_8d_reg: fixedregulator-v1_8d {
    		compatible = "regulator-fixed";
    		regulator-name = "v1_8d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	/* TPS78633 */
    	v3_3d_reg: fixedregulator-v3_3d {
    		compatible = "regulator-fixed";
    		regulator-name = "v3_3d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    	};
    
    	/*leds {
    		pinctrl-names = "default";
    		pinctrl-0 = <&user_leds_s0>;
    
    		compatible = "gpio-leds";
    
    		led1 {
    			label = "evmsk:green:usr0";
    			gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led2 {
    			label = "evmsk:green:usr1";
    			gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led3 {
    			label = "evmsk:green:mmc0";
    			gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "mmc0";
    			default-state = "off";
    		};
    
    		led4 {
    			label = "evmsk:green:heartbeat";
    			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "heartbeat";
    			default-state = "off";
    		};
    	};*/
    
    	gpio_buttons: gpio_buttons0 {
    		compatible = "gpio-keys";
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		switch1 {
    			label = "button0";
    			linux,code = <0x100>;
    			gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
    		};
    
    		switch2 {
    			label = "button1";
    			linux,code = <0x101>;
    			gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    		};
    
    		switch3 {
    			label = "button2";
    			linux,code = <0x102>;
    			gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
    			wakeup-source;
    		};
    
    		switch4 {
    			label = "button3";
    			linux,code = <0x103>;
    			gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    		};
    	};
    
    	/*lcd_bl: backlight {
    		compatible = "pwm-backlight";
    		pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
    		brightness-levels = <0 58 61 66 75 90 125 170 255>;
    		default-brightness-level = <8>;
    	};*/
    
    	/*sound {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "AM335x-EVMSK";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack";
    		simple-audio-card,routing =
    			"Headphone Jack",	"HPLOUT",
    			"Headphone Jack",	"HPROUT";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound_master>;
    		simple-audio-card,frame-master = <&sound_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp1>;
    		};
    
    		sound_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			system-clock-frequency = <24000000>;
    		};
    	};*/
    
    	/*panel {
    		compatible = "newhaven,nhd-4.3-480272ef-atxl";
    
    		pinctrl-names = "default", "sleep";
    		pinctrl-0 = <&lcd_pins_default>;
    		pinctrl-1 = <&lcd_pins_sleep>;
    		backlight = <&lcd_bl>;
    
    		port {
    			panel_0: endpoint@0 {
    				remote-endpoint = <&lcdc_0>;
    			};
    		};
    	};*/
    };
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = </*&gpio_keys_s0*/ &gpio0_pins &clkout2_pin>;
         
    
    	//lcd_pins_default: lcd_pins_default {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad8.lcd_data23 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad9.lcd_data22 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad10.lcd_data21 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad11.lcd_data20 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad12.lcd_data19 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad13.lcd_data18 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad14.lcd_data17 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_OUTPUT, MUX_MODE1)	/* gpmc_ad15.lcd_data16 */
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT, MUX_MODE0)
    	//	>;
    	//};
    
    	//lcd_pins_sleep: lcd_pins_sleep {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad8.lcd_data23 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad9.lcd_data22 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad10.lcd_data21 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad11.lcd_data20 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad12.lcd_data19 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad13.lcd_data18 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad14.lcd_data17 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad15.lcd_data16 */
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PULL_DISABLE, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//	>;
    	//};
    
    
    	//user_leds_s0: user_leds_s0 {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_OUTPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad4.gpio1_4 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_OUTPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad5.gpio1_5 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_OUTPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad6.gpio1_6 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_OUTPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ad7.gpio1_7 */
    	//	>;
    	//};
    
    	//gpio_keys_s0: gpio_keys_s0 {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_oen_ren.gpio2_3 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_advn_ale.gpio2_2 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_wait0.gpio0_30 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* gpmc_ben0_cle.gpio2_5 */
    	//	>;
    	//};
    	
    	
    	gpio0_pins: gpio0_pins {
    		pinctrl-single,pins = <
    			AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE7)
    		>;
    	};
    
    
    	i2c0_pins: i2c0_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
    			AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
    		>;
    	};
    
    
    	i2c2_pins: i2c2_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE2) /* (B17) spi0_d0.I2C2_SCL */
    			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE2) /* (A17) spi0_sclk.I2C2_SDA */
    		>;
    	};
    	
    
    	uart0_pins: uart0_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* (E15) uart0_rxd.uart0_rxd */
    			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (E16) uart0_txd.uart0_txd */
    		>;
    	};
    
    
    	uart1_pins: uart1_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0) /* (D16) uart1_rxd.uart1_rxd */
    			AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (D15) uart1_txd.uart1_txd */
    		>;
    	};
    	
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_OUTPUT_PULLDOWN, MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	//ecap2_pins: backlight_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, 0x0, MUX_MODE4)	/* mcasp0_ahclkr.ecap2_in_pwm2_out */
    	//	>;
    	//};
    
            nandflash_pins_default: nandflash_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0) /* (T9) gpmc_ad7.gpmc_ad7 */
    			AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0) /* (R9) gpmc_ad6.gpmc_ad6 */
    			AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0) /* (V8) gpmc_ad5.gpmc_ad5 */
    			AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0) /* (U8) gpmc_ad4.gpmc_ad4 */
    			AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0) /* (T8) gpmc_ad3.gpmc_ad3 */
    			AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0) /* (R8) gpmc_ad2.gpmc_ad2 */
    			AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0) /* (V7) gpmc_ad1.gpmc_ad1 */
    			AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0) /* (U7) gpmc_ad0.gpmc_ad0 */
    			AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* (T17) gpmc_wait0.gpmc_wait0 */
    			AM33XX_IOPAD(0x874, PIN_OUTPUT | MUX_MODE0) /* (U17) gpmc_wpn.gpmc_wpn */
    			AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* (V6) gpmc_csn0.gpmc_csn0 */
    			AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* (R7) gpmc_advn_ale.gpmc_advn_ale */
    			AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* (T7) gpmc_oen_ren.gpmc_oen_ren */
    			AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* (U6) gpmc_wen.gpmc_wen */
    			AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* (T6) gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    	nandflash_pins_sleep: nandflash_pins_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x81c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T9) gpmc_ad7.gpmc_ad7 */
    			AM33XX_IOPAD(0x818, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R9) gpmc_ad6.gpmc_ad6 */
    			AM33XX_IOPAD(0x814, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V8) gpmc_ad5.gpmc_ad5 */
    			AM33XX_IOPAD(0x810, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U8) gpmc_ad4.gpmc_ad4 */
    			AM33XX_IOPAD(0x80c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T8) gpmc_ad3.gpmc_ad3 */
    			AM33XX_IOPAD(0x808, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R8) gpmc_ad2.gpmc_ad2 */
    			AM33XX_IOPAD(0x804, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V7) gpmc_ad1.gpmc_ad1 */
    			AM33XX_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U7) gpmc_ad0.gpmc_ad0 */
    			AM33XX_IOPAD(0x870, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T17) gpmc_wait0.gpmc_wait0 */
    			AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gpmc_wpn */
    			AM33XX_IOPAD(0x87c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V6) gpmc_csn0.gpmc_csn0 */
    			AM33XX_IOPAD(0x890, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R7) gpmc_advn_ale.gpmc_advn_ale */
    			AM33XX_IOPAD(0x894, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpmc_oen_ren */
    			AM33XX_IOPAD(0x898, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U6) gpmc_wen.gpmc_wen */
    			AM33XX_IOPAD(0x89c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T6) gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (J16) gmii1_txen.rgmii1_tctl */
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (J17) gmii1_rxdv.rgmii1_rctl */
    			AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (K18) gmii1_txclk.rgmii1_tclk */
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (L18) gmii1_rxclk.rgmii1_rclk */
    			AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (K17) gmii1_txd0.rgmii1_td0 */
    			AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (K16) gmii1_txd1.rgmii1_td1 */
    			AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (K15) gmii1_txd2.rgmii1_td2 */
    			AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* (J18) gmii1_txd3.rgmii1_td3 */
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (M16) gmii1_rxd0.rgmii1_rd0 */
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (L15) gmii1_rxd1.rgmii1_rd1 */
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (L16) gmii1_rxd2.rgmii1_rd2 */
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* (L17) gmii1_rxd3.rgmii1_rd3 */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J16) gmii1_txen.rgmii1_tctl */
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J17) gmii1_rxdv.rgmii1_rctl */
    			AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K18) gmii1_txclk.rgmii1_tclk */
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L18) gmii1_rxclk.rgmii1_rclk */
    			AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.rgmii1_td0 */
    			AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.rgmii1_td1 */
    			AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K15) gmii1_txd2.rgmii1_td2 */
    			AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J18) gmii1_txd3.rgmii1_td3 */
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.rgmii1_rd0 */
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.rgmii1_rd1 */
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L16) gmii1_rxd2.rgmii1_rd2 */
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L17) gmii1_rxd3.rgmii1_rd3 */
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (M18) mdio_clk.mdio_clk */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | MUX_MODE0) /* (M17) mdio_data.mdio_data */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M18) mdio_clk.mdio_clk */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M17) mdio_data.mdio_data */
    		>;
    	};
    
    	//mmc1_pins: pinmux_mmc1_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7) 		/* spi0_cs1.gpio0_6 */
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
    	//		AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT, MUX_MODE4)		/* mcasp0_aclkr.mmc0_sdwp */
    	//	>;
    	//};
    
    	//mcasp1_pins: mcasp1_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_OUTPUT_PULLDOWN, MUX_MODE4) /* mii1_col.mcasp1_axr2 */
    	//		AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
    	//	>;
    	//};
    
    	//mcasp1_pins_sleep: mcasp1_pins_sleep {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//		AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
    	//	>;
    	//};
    
    	//mmc2_pins: pinmux_mmc2_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_wpn.gpio0_31 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
    	//	>;
    	//};
    
    	//wl12xx_gpio: pinmux_wl12xx_gpio {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT_PULLUP, MUX_MODE7) /* gpmc_csn0.gpio1_29 */
    	//	>;
    	//};
    
    	//pruss_uart_pins: pruss_uart_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLDOWN, MUX_MODE4) /* spi0_sclk.pr1_uart0_cts_n */
    	//		AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLDOWN, MUX_MODE4) /* spi0_d0.pr1_uart0_rts_n */
    	//		AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE4) /* spi0_d1.pr1_uart0_rxd */
    	//		AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_OUTPUT_PULLUP, MUX_MODE4) /* spi0_cs9.pr1_uart0_txd */
    	//	>;
    	//};
    };
    
    //&pruss_uart {
    //	interrupts = <6 2 2>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&pruss_uart_pins>;
    //	status = "okay";
    //};
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    &uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&v3_3d_reg>;
    		IOVDD-supply = <&v3_3d_reg>;
    		DRVDD-supply = <&v3_3d_reg>;
    		DVDD-supply = <&v1_8d_reg>;
    	};
    };
    
    
    &i2c2 {
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c2_pins>;
    
    	status = "okay";
    //	clock-frequency = <400000>;
    	clock-frequency = <200000>;
    
    };
    
    
    &usb1 {
    	dr_mode = "host";
    };
    
    //&epwmss2 {
    //	status = "okay";
    
    //	ecap2: pwm@100 {
    //		status = "okay";
    //		pinctrl-names = "default";
    //		pinctrl-0 = <&ecap2_pins>;
    //	};
    //};
    
    //&wkup_m3_ipc {
    //	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    //};
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac_sw {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio_sw {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    
    	ethphy0: ethernet-phy@0 {
    		reg = <0>;
    	};
    
    	ethphy1: ethernet-phy@1 {
    		reg = <1>;
    	};
    };
    
    &cpsw_port1 {
    	phy-handle = <&ethphy0>;
    	phy-mode = "rgmii-id";
    	ti,dual-emac-pvid = <1>;
    };
    
    &cpsw_port2 {
    	phy-handle = <&ethphy1>;
    	phy-mode = "rgmii-id";
    	ti,dual-emac-pvid = <2>;
    };
    
    
    &gpmc {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&nandflash_pins_default>;
    	pinctrl-1 = <&nandflash_pins_sleep>;
    	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
    	nand@0,0 {
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    		<1 IRQ_TYPE_NONE>; /* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-xfer-type = "prefetch-dma";
    		/*ti,nand-xfer-type = "polled";*/
    		ti,nand-ecc-opt = "hw";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <8>;
    		gpmc,device-width = <1>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <44>;
    		gpmc,cs-wr-off-ns = <44>;
    		gpmc,adv-on-ns = <6>;
    		gpmc,adv-rd-off-ns = <34>;
    		gpmc,adv-wr-off-ns = <44>;
    		gpmc,we-on-ns = <0>;
    		gpmc,we-off-ns = <40>;
    		gpmc,oe-on-ns = <0>;
    		gpmc,oe-off-ns = <54>;
    		gpmc,access-ns = <64>;
    		gpmc,rd-cycle-ns = <82>;
    		gpmc,wr-cycle-ns = <82>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		* which can be independently programmable. For
    		* NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    		label = "NAND.SPL";
    		reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    		label = "NAND.SPL.backup1";
    		reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    		label = "NAND.SPL.backup2";
    		reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    		label = "NAND.SPL.backup3";
    		reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    		label = "NAND.u-boot-spl-os";
    		reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    		label = "NAND.u-boot";
    		reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    		label = "NAND.u-boot-env";
    		reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    		label = "NAND.u-boot-env.backup1";
    		reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    		label = "NAND.kernel";
    		reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    		label = "NAND.file-system";
    		reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    
    //&mmc1 {
    //	status = "okay";
    //	vmmc-supply = <&vmmc_reg>;
    //	bus-width = <4>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc1_pins>;
    //	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    //};
    
    //&sham {
    //	status = "okay";
    //};
    
    //&aes {
    //	status = "okay";
    //};
    
    //&gpio0_target {
    //	ti,no-reset-on-init;
    //};
    
    //&mmc2 {
    //	status = "okay";
    //	vmmc-supply = <&wl12xx_vmmc>;
    //	non-removable;
    //	bus-width = <4>;
    //	cap-power-off-card;
    //	keep-power-in-suspend;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc2_pins>;
    //
    //	#address-cells = <1>;
    //	#size-cells = <0>;
    //	wlcore: wlcore@2 {
    //		compatible = "ti,wl1271";
    //		reg = <2>;
    //		interrupt-parent = <&gpio0>;
    //		interrupts = <31 IRQ_TYPE_EDGE_RISING>; /* gpio 31 */
    //		ref-clock-frequency = <38400000>;
    //	};
    //};
    
    //&mcasp1 {
    //	#sound-dai-cells = <0>;
    //	pinctrl-names = "default", "sleep";
    //	pinctrl-0 = <&mcasp1_pins>;
    //	pinctrl-1 = <&mcasp1_pins_sleep>;
    //
    //	status = "okay";
    //
    //	op-mode = <0>;          /* MCASP_IIS_MODE */
    //	tdm-slots = <2>;
    //	/* 4 serializers */
    //	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    //		0 0 1 2
    //	>;
    //	tx-num-evt = <32>;
    //	rx-num-evt = <32>;
    //};
    
    //&tscadc {
    //	status = "okay";
    //	tsc {
    //		ti,wires = <4>;
    //		ti,x-plate-resistance = <200>;
    //		ti,coordinate-readouts = <5>;
    //		ti,wire-config = <0x00 0x11 0x22 0x33>;
    //	};
    //};
    
    //&lcdc {
    //	status = "okay";
    //
    //	blue-and-red-wiring = "crossed";
    //
    //	port {
    //		lcdc_0: endpoint@0 {
    //			remote-endpoint = <&panel_0>;
    //		};
    //	};
    //};
    
    &rtc {
    	status = "disabled";
    	clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    //&pruss_tm {
    //	status = "okay";
    //};
    

    然后、 未出现"OMAP2-nand 8000000 (OMAP2-nand 8000000)"问题、并出现其他问题。

    是否可以检查以下日志?

    U-Boot 2021.01-00001-gc59bf25a38-dirty (Jan 20 2023 - 15:36:58 +0900)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM-SK
    DRAM:  256 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000
    Hit any key to stop autoboot:  0
    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df2c000, end 8df3ef2e ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.100-g7a7a3af903 (root@ssc-VirtualBox) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #2 PREEMPT Thu Jan 19 18:08:43 KST 2023
    [    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] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fefffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000008fefffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fefffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64706
    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 192724K/261120K available (10240K kernel code, 695K rwdata, 3404K rodata, 1024K init, 280K bss, 19244K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] random: get_random_bytes called from start_kernel+0x30c/0x4c8 with crng_init=0
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000069] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000879] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.003560] Console: colour dummy device 80x30
    [    0.003721] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [    0.070967] pid_max: default: 32768 minimum: 301
    [    0.071353] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.071397] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.073328] CPU: Testing write buffer coherency: ok
    [    0.073479] CPU0: Spectre v2: using BPIALL workaround
    [    0.075297] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.075646] rcu: Hierarchical SRCU implementation.
    [    0.075864] EFI services will not be available.
    [    0.076574] devtmpfs: initialized
    [    0.105391] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.105967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.106024] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [    0.113000] pinctrl core: initialized pinctrl subsystem
    [    0.114974] DMI not present or invalid.
    [    0.115938] NET: Registered protocol family 16
    [    0.121566] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.149600] l3-aon-clkctrl:0000:0: failed to disable
    [    0.152469] thermal_sys: Registered thermal governor 'fair_share'
    [    0.152494] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.152528] thermal_sys: Registered thermal governor 'step_wise'
    [    0.152551] thermal_sys: Registered thermal governor 'user_space'
    [    0.153270] cpuidle: using governor ladder
    [    0.153366] cpuidle: using governor menu
    [    2.561012] random: fast init done
    [    3.516707] No ATAGs?
    [    3.516765] hw-breakpoint: debug architecture 0x4 unsupported.
    [    3.584244] v1_8d: supplied by vbat
    [    3.585835] v3_3d: supplied by vbat
    [    3.588663] iommu: Default domain type: Translated
    [    3.595182] SCSI subsystem initialized
    [    3.596411] mc: Linux media interface: v0.10
    [    3.596529] videodev: Linux video capture interface: v2.00
    [    3.596823] pps_core: LinuxPPS API ver. 1 registered
    [    3.596854] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    3.596919] PTP clock support registered
    [    3.597070] EDAC MC: Ver: 3.0.0
    [    3.599754] Advanced Linux Sound Architecture Driver Initialized.
    [    3.603000] clocksource: Switched to clocksource dmtimer
    [    3.623510] NET: Registered protocol family 2
    [    3.623909] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    3.625914] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
    [    3.626002] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    3.626086] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    3.626160] TCP: Hash tables configured (established 2048 bind 2048)
    [    3.626395] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    3.626457] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    3.626732] NET: Registered protocol family 1
    [    3.627924] RPC: Registered named UNIX socket transport module.
    [    3.627964] RPC: Registered udp transport module.
    [    3.627986] RPC: Registered tcp transport module.
    [    3.628007] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.628047] PCI: CLS 0 bytes, default 64
    [    3.630026] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    3.633434] Initialise system trusted keyrings
    [    3.633912] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    3.644689] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    3.646349] NFS: Registering the id_resolver key type
    [    3.646440] Key type id_resolver registered
    [    3.646465] Key type id_legacy registered
    [    3.646678] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    3.646711] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    3.646802] ntfs: driver 2.1.32 [Flags: R/O].
    [    3.648125] Key type asymmetric registered
    [    3.648166] Asymmetric key parser 'x509' registered
    [    3.648281] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    3.648313] io scheduler mq-deadline registered
    [    3.648337] io scheduler kyber registered
    [    4.580938] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    4.788434] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    4.788521] edma 49000000.dma: TI EDMA DMA engine driver
    [    4.820200] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    4.963992] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    4.974839] printk: console [ttyS0] disabled
    [    4.975291] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 21, base_baud = 3000000) is a 8250
    [    5.648469] printk: console [ttyS0] enabled
    [    5.656972] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 25, base_baud = 3000000) is a 8250
    [    5.673198] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    5.683589] random: crng init done
    [    5.734540] brd: module loaded
    [    5.754793] loop: module loaded
    [    5.833091] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    5.844526] mdio_bus 4a101000.mdio: MDIO device at address 1 is missing.
    [    5.851311] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    5.861246] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    5.868278] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    5.874273] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
    [    5.881919] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
    [    5.893191] cpsw-switch 4a100000.switch: Detected MACID = 68:47:49:b1:e5:25
    [    5.900258] cpsw-switch 4a100000.switch: Detected MACID = 68:47:49:b1:e5:27
    [    5.911016] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
    [    5.923533] i2c /dev entries driver
    [    5.933864] cpuidle: enable-method property 'ti,am3352' found operations
    [    5.942077] sdhci: Secure Digital Host Controller Interface driver
    [    5.948439] sdhci: Copyright(c) Pierre Ossman
    [    5.955868] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.966164] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.983609] NET: Registered protocol family 10
    [    5.990921] Segment Routing with IPv6
    [    5.995035] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    6.002539] NET: Registered protocol family 17
    [    6.007800] Key type dns_resolver registered
    [    6.013499] omap_voltage_late_init: Voltage driver support not added
    [    6.021079] Loading compiled-in X.509 certificates
    [    6.054982] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    6.060218] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    6.071103] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    6.077636] nand: Micron MT29F2G08ABAEAWP
    [    6.081690] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    6.089472] omap2-nand 8000000.nand: nand: using OMAP_ECC_HAM1_CODE_HW
    [    6.096354] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    6.103415] Creating 10 MTD partitions on "omap2-nand.0":
    [    6.108868] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    6.117715] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    6.126940] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    6.136096] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    6.145263] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    6.154615] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    6.163823] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    6.172784] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    6.182532] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    6.195713] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    6.346561] OMAP GPIO hardware version 0.1
    [    6.383395] tps65910 0-002d: No interrupt support, no core IRQ
    [    6.393244] vrtc: supplied by vbat
    [    6.400910] vio: supplied by vbat
    [    6.407014] vdd_mpu: supplied by vbat
    [    6.413325] vdd_core: supplied by vbat
    [    6.421066] vdig1: supplied by vbat
    [    6.426585] vdig2: supplied by vbat
    [    6.432045] vpll: supplied by vbat
    [    6.437479] vdac: supplied by vbat
    [    6.442842] vaux1: supplied by vbat
    [    6.448345] vaux2: supplied by vbat
    [    6.453873] vaux33: supplied by vbat
    [    6.459658] vmmc: supplied by vbat
    [    6.465469] vbb: supplied by vbat
    [    6.472359] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    6.481281] pinctrl-single 44e10800.pinmux: pin PIN85 already requested by 44e10800.pinmux; cannot claim for 4819c000.i2c
    [    6.492440] pinctrl-single 44e10800.pinmux: pin-85 (4819c000.i2c) status -22
    [    6.499615] pinctrl-single 44e10800.pinmux: could not request pin 85 (PIN85) from group i2c2_pins_default  on device pinctrl-single
    [    6.511549] omap_i2c 4819c000.i2c: Error applying setting, reverse things back
    [    6.518896] omap_i2c: probe of 4819c000.i2c failed with error -22
    [    6.540313] omap_reset_deassert: timedout waiting for gfx:0
    [    6.546120] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    6.555705] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 600000000 (-34)
    [    6.565146] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 600000 KHz, changing to: 300000 KHz
    [    6.580277] ubi0: attaching mtd9
    [    6.587107] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
    [    6.599635] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
    [    6.611898] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
    [    6.624146] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read 64 bytes
    [    6.634375] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.100-g7a7a3af903 #2
    [    6.641421] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    6.647754] [<c010d584>] (unwind_backtrace) from [<c010a12c>] (show_stack+0x10/0x14)
    [    6.655790] [<c010a12c>] (show_stack) from [<c06f1384>] (ubi_io_read+0x14c/0x33c)
    [    6.663484] [<c06f1384>] (ubi_io_read) from [<c06f177c>] (ubi_io_read_ec_hdr+0x44/0x1f0)
    [    6.671699] [<c06f177c>] (ubi_io_read_ec_hdr) from [<c06f6e6c>] (ubi_attach+0x19c/0x13e0)
    [    6.680063] [<c06f6e6c>] (ubi_attach) from [<c06eb434>] (ubi_attach_mtd_dev+0x484/0xb20)
    [    6.688450] [<c06eb434>] (ubi_attach_mtd_dev) from [<c0f27e84>] (ubi_init+0x198/0x224)
    [    6.696578] [<c0f27e84>] (ubi_init) from [<c01016c8>] (do_one_initcall+0x58/0x1c4)
    [    6.704353] [<c01016c8>] (do_one_initcall) from [<c0f01028>] (kernel_init_freeable+0x1b0/0x214)
    [    6.713391] [<c0f01028>] (kernel_init_freeable) from [<c0a284b4>] (kernel_init+0x8/0x118)
    [    6.721705] [<c0a284b4>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [    6.729432] Exception stack(0xc1851fb0 to 0xc1851ff8)
    [    6.734723] 1fa0:                                     00000000 00000000 00000000 00000000
    [    6.743086] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.751369] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    6.758955] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:2048, read only 64 bytes, retry
    [    6.771398] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:2048, read only 64 bytes, retry
    [    6.783862] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:2048, read only 64 bytes, retry
    [    6.796180] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:2048, read 64 bytes
    [    6.806551] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.100-g7a7a3af903 #2
    [    6.813737] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    6.819966] [<c010d584>] (unwind_backtrace) from [<c010a12c>] (show_stack+0x10/0x14)
    [    6.827933] [<c010a12c>] (show_stack) from [<c06f1384>] (ubi_io_read+0x14c/0x33c)
    [    6.835706] [<c06f1384>] (ubi_io_read) from [<c06f1974>] (ubi_io_read_vid_hdr+0x4c/0x1fc)
    [    6.844086] [<c06f1974>] (ubi_io_read_vid_hdr) from [<c06f6f18>] (ubi_attach+0x248/0x13e0)
    [    6.852469] [<c06f6f18>] (ubi_attach) from [<c06eb434>] (ubi_attach_mtd_dev+0x484/0xb20)
    [    6.860751] [<c06eb434>] (ubi_attach_mtd_dev) from [<c0f27e84>] (ubi_init+0x198/0x224)
    [    6.868939] [<c0f27e84>] (ubi_init) from [<c01016c8>] (do_one_initcall+0x58/0x1c4)
    [    6.876711] [<c01016c8>] (do_one_initcall) from [<c0f01028>] (kernel_init_freeable+0x1b0/0x214)
    [    6.885612] [<c0f01028>] (kernel_init_freeable) from [<c0a284b4>] (kernel_init+0x8/0x118)
    [    6.894063] [<c0a284b4>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [    6.901720] Exception stack(0xc1851fb0 to 0xc1851ff8)
    [    6.906929] 1fa0:                                     00000000 00000000 00000000 00000000
    [    6.915362] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.923714] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    6.931349] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read only 64 bytes, retry
    [    6.943615] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read only 64 bytes, retry
    [    6.955686] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read only 64 bytes, retry
    [    6.967830] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read 64 bytes
    [    6.977942] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.100-g7a7a3af903 #2
    [    6.985129] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    6.991356] [<c010d584>] (unwind_backtrace) from [<c010a12c>] (show_stack+0x10/0x14)
    [    6.999294] [<c010a12c>] (show_stack) from [<c06f1384>] (ubi_io_read+0x14c/0x33c)
    [    7.007067] [<c06f1384>] (ubi_io_read) from [<c06f177c>] (ubi_io_read_ec_hdr+0x44/0x1f0)
    [    7.015357] [<c06f177c>] (ubi_io_read_ec_hdr) from [<c06f6e6c>] (ubi_attach+0x19c/0x13e0)
    [    7.023718] [<c06f6e6c>] (ubi_attach) from [<c06eb434>] (ubi_attach_mtd_dev+0x484/0xb20)
    [    7.031933] [<c06eb434>] (ubi_attach_mtd_dev) from [<c0f27e84>] (ubi_init+0x198/0x224)
    [    7.040119] [<c0f27e84>] (ubi_init) from [<c01016c8>] (do_one_initcall+0x58/0x1c4)
    [    7.047914] [<c01016c8>] (do_one_initcall) from [<c0f01028>] (kernel_init_freeable+0x1b0/0x214)
    [    7.056903] [<c0f01028>] (kernel_init_freeable) from [<c0a284b4>] (kernel_init+0x8/0x118)
    [    7.065278] [<c0a284b4>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [    7.072931] Exception stack(0xc1851fb0 to 0xc1851ff8)
    [    7.078130] 1fa0:                                     00000000 00000000 00000000 00000000
    [    7.086560] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    7.094912] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    7.102402] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:2048, read only 64 bytes, retry
    [    7.114834] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:2048, read only 64 bytes, retry
    [    7.127156] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:2048, read only 64 bytes, retry
    [    7.139664] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:2048, read 64 bytes
    [    7.150042] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.100-g7a7a3af903 #2
    [    7.157255] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    7.163553] [<c010d584>] (unwind_backtrace) from [<c010a12c>] (show_stack+0x10/0x14)
    [    7.171422] [<c010a12c>] (show_stack) from [<c06f1384>] (ubi_io_read+0x14c/0x33c)
    [    7.179097] [<c06f1384>] (ubi_io_read) from [<c06f1974>] (ubi_io_read_vid_hdr+0x4c/0x1fc)
    [    7.187553] [<c06f1974>] (ubi_io_read_vid_hdr) from [<c06f6f18>] (ubi_attach+0x248/0x13e0)
    [    7.196014] [<c06f6f18>] (ubi_attach) from [<c06eb434>] (ubi_attach_mtd_dev+0x484/0xb20)
    [    7.204293] [<c06eb434>] (ubi_attach_mtd_dev) from [<c0f27e84>] (ubi_init+0x198/0x224)
    [    7.212329] [<c0f27e84>] (ubi_init) from [<c01016c8>] (do_one_initcall+0x58/0x1c4)
    [    7.220171] [<c01016c8>] (do_one_initcall) from [<c0f01028>] (kernel_init_freeable+0x1b0/0x214)
    [    7.229077] [<c0f01028>] (kernel_init_freeable) from [<c0a284b4>] (kernel_init+0x8/0x118)
    [    7.237528] [<c0a284b4>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [    7.245251] Exception stack(0xc1851fb0 to 0xc1851ff8)
    [    7.250393] 1fa0:                                     00000000 00000000 00000000 00000000
    [    7.258742] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    7.267187] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000

    谢谢你。

    S.C.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [6.580277]   ubi0:连接 mtd9
    [6.587107]   ubi0警告:ubi_io_read:Error -74 (ECC 错误) while reading 64 bytes from PEB 0:0、read only 64 bytes、retry
    [6.599635]   ubi0警告:ubi_io_read:从 PEB 0:0读取64个字节时出错-74 (ECC 错误)、只读64个字节、然后重试
    [6.611898]   ubi0警告:ubi_io_read:Error -74 (ECC 错误) while reading 64 bytes from PEB 0:0、read only 64 bytes、retry
    [6.624146]   ubi0错误:ubi_io_read:从 PEB 0:0读取64个字节时出错-74 (ECC 错误)、读取64个字节

    内核日志显示 ubi 访问失败。 如果您可以在 Linux 中访问 NAND MTD 器件、则可以从其他源而不是 NAND 启动、然后检查。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    除了 NAND 之外、没有其他引导器件

    为给您一些背景信息、
    此定制板采用 SDK 版本02.00.01.07进行大规模生产。

    我将 SDK 版本更新为08.02.00.0024并进行测试、然后出现此问题。

    我们希望硬件不会出现问题、只需更改 SDK 版本即可。


    但是、我不知道最新的 SDK 支持和闪存完美性。

    从日志中、它似乎是一个与 ECC 相关的错误。

    此外、 在启动开始之前、上电时  显示"OMAP-elm:不可纠正的 ECC 错误"。

    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    
    
    U-Boot 2021.01-00001-gc59bf25a38-dirty (Jan 20 2023 - 15:36:58 +0900)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM-SK
    DRAM:  256 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000
    Hit any key to stop autoboot:  0

    u-boot 是否正确支持 nand 控制(ECC、bch8...)?

    谢谢你。

    S.C.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    SDK v2.0.1.7使用 u-boot 2015.02、不在器件树中配置 GPMC NAND、而 SDK v8.2.0.24中的 u-boot 在器件树中配置 GPMC NAND。 我想问题是 GPMC NAND 的器件树配置。

    一种调试方法是转储 SDK v2.0和 v8.2中的 GPMC 寄存器、可以对它们进行比较以查看是否存在差异。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,刘斌

    您能告诉我们如何转储 GPMC 寄存器吗? 我们需要更详细的指令、以便至少将 GPMC 寄存器转储到 EVM 上。

    此致、  

    插孔  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、刘斌、

    我们在器件树中出错了。

    我们添加了以下源代码并成功引导。

    ------------------------

    等距{(&E)
    状态="正常";
    };

    ------------------------

    感谢您的指导。

    S.C.