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.

Linux/AM3351: NAND boot issue

Part Number: AM3351
Other Parts Discussed in Thread: AM3352, TPS65217

Tool/software: Linux

Hi Team,

I am trying to boot AM3351 custom board from the nand chip MT29F4G08ABADAH using ti-processor-sdk-linux-am335x-evm-03.00.00.04. It comes up till u boot successfully. Read/Write from u boot to mtd partitions and booting kernel is successful. But it is failing to read/mount filesystem partition.

My GPMC configuration is :

&gpmc {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&emmc_pins>;
        ranges = <0 0 0x08000000 0x20000000>;    /* CS0: 512MB for NAND */
        ti,elm-id = <&elm>;
        nand@0,0 {
                compatible = "ti,omap2-nand";
                nand-bus-width = <8>;
                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-ecc-opt = "bch8";
                ti,elm-id = <&elm>;
                gpmc,device-nand = "true";
                gpmc,device-width = <1>;
                gpmc,sync-clk-ps = <0>;         /**/
               gpmc,adv-on-ns = <10>;       /*t ALS*/
                gpmc,rd-cycle-ns = <20>;      /*t RC*/
                gpmc,wr-cycle-ns = <20>;      /*t WC*/
                gpmc,cs-rd-off-ns = <25>;      /*t CEA*/
                gpmc,cs-wr-off-ns = <25>;     /*t CEA*/
                gpmc,we-on-ns = <7>;            /*t WH*/
                gpmc,oe-on-ns = <3>;             /*REn*/
                gpmc,adv-rd-off-ns = <10>;
                 gpmc,adv-wr-off-ns = <25>;
                gpmc,we-off-ns = <10>;
                gpmc,oe-off-ns = <10>;
                gpmc,access-ns = <30>;
                gpmc,wr-access-ns = <40>;
                #address-cells = <1>;
                #size-cells = <1>;
                /* 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 */

                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 0x00300000>;
                };
                partition@6 {
                        label = "NAND.u-boot-env";
                        reg = <0x003C0000 0x00020000>;
                };
                partition@7 {
                        label = "NAND.u-boot-env.backup1";
                        reg = <0x003E0000 0x00020000>;
                };
                partition@8 {
                        label = "NAND.kernel";
                        reg = <0x00400000 0x00800000>;
                };
                partition@9 {
                        label = "NAND.file-system";
                        reg = <0x00C00000 0x1F400000>;
                };
        };
};


Pinmux is as below: (taken from u boot)

                       0x0 (PIN_INPUT | MUX_MODE0)      /* gpmc_ad0.gpmc_ad0 */
                       0x4 (PIN_INPUT | MUX_MODE0)      /* gpmc_ad1.gpmc_ad1 */
                       0x8 (PIN_INPUT | MUX_MODE0)      /* gpmc_ad2.gpmc_ad2 */
                       0xc (PIN_INPUT | MUX_MODE0)      /* gpmc_ad3.gpmc_ad3 */
                       0x10 (PIN_INPUT | MUX_MODE0)     /* gpmc_ad4.gpmc_ad4 */
                       0x14 (PIN_INPUT | MUX_MODE0)     /* gpmc_ad5.gpmc_ad5 */
                       0x18 (PIN_INPUT | MUX_MODE0)     /* gpmc_ad6.gpmc_ad6 */
                       0x1c (PIN_INPUT | MUX_MODE0)     /* gpmc_ad7.gpmc_ad7 */
                       0x70 (PIN_INPUT_PULLUP | MUX_MODE0)     /* gpmc_wait0.gpmc_wait0 */
                       0x74 (PIN_OUTPUT_PULLUP | MUX_MODE7)     /* gpmc_wpn.gpio0_30 */
                       0x7c (PIN_OUTPUT_PULLUP | MUX_MODE0)           /* gpmc_csn0.gpmc_csn0  */
                       0x90 (PIN_OUTPUT | MUX_MODE0)           /* gpmc_advn_ale.gpmc_advn_ale */
                       0x94 (PIN_OUTPUT_PULLUP | MUX_MODE0)           /* gpmc_oen_ren.gpmc_oen_ren */
                       0x98 (PIN_OUTPUT_PULLUP | MUX_MODE0)           /* gpmc_wen.gpmc_wen */
                       0x9c (PIN_OUTPUT | MUX_MODE0)           /* gpmc_be0n_cle.gpmc_be0n_cle */

This is not recognizing the nand chip. When i print nand ID read i get:

[    2.234958] nand: **** read ID :
[    2.238013] nand: id_data[00] : 00nand: id_data[01] : 00
[    2.243364] nand: id_data[02] : 00nand: id_data[03] : 00
[    2.248677] nand: id_data[04] : 00nand: id_data[05] : 00
[    2.254021] nand: id_data[06] : 00nand: id_data[07] : 00

I have compared GPMC configuration from u-boot.

u boot:
#define M_NAND_GPMC_CONFIG1     0x00000800
#define M_NAND_GPMC_CONFIG2     0x001e1e00
#define M_NAND_GPMC_CONFIG3     0x001e1e00
#define M_NAND_GPMC_CONFIG4     0x16051807
#define M_NAND_GPMC_CONFIG5     0x00151e1e
#define M_NAND_GPMC_CONFIG6     0x16000f80

writel((((size & 0xF) << 8) | ((base >> 24) & 0x3F) | (1 << 6)), &gpmc_cfg->cs[0].config7);
This comes to : 0x00000F48


kernel from logs:

[    1.478548] gpmc cs0 before gpmc_cs_program_settings:
[    1.483676] cs0 GPMC_CS_CONFIG1: 0x00000800
[    1.487849] cs0 GPMC_CS_CONFIG2: 0x001e1e00
[    1.492059] cs0 GPMC_CS_CONFIG3: 0x001e1e00
[    1.496231] cs0 GPMC_CS_CONFIG4: 0x16051807
[    1.500398] cs0 GPMC_CS_CONFIG5: 0x00151e1e
[    1.504601] cs0 GPMC_CS_CONFIG6: 0x16000f80    
[    1.508771] cs0 GPMC_CS_CONFIG7: 0x00000f08



[    1.823739] gpmc cs0 after gpmc_cs_set_timings:
[    2.004717] cs0 GPMC_CS_CONFIG1: 0x00000800
[    2.008888] cs0 GPMC_CS_CONFIG2: 0x00020200
[    2.013093] cs0 GPMC_CS_CONFIG3: 0x00020101
[    2.017264] cs0 GPMC_CS_CONFIG4: 0x01010101
[    2.021462] cs0 GPMC_CS_CONFIG5: 0x00020202
[    2.025632] cs0 GPMC_CS_CONFIG6: 0x03000000
[    2.029799] cs0 GPMC_CS_CONFIG7: 0x00000f48

When I remove the CS_CONFIGx parameters from the device tree, it reads chip ID successfully, but i am unable to mount the filesystem partition over ubifs.

[    2.011376] nand: id_data[00] : c2nand: id_data[01] : dc
[    2.016695] nand: id_data[02] : 90nand: id_data[03] : 95
[    2.022042] nand: id_data[04] : 56nand: id_data[05] : 00
[    2.027357] nand: id_data[06] : 00nand: id_data[07] : 00
[    2.032701] nand:
[    2.082728] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    2.089055] nand: Macronix MX30LF4G18AC
[    2.092919] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.100555] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    2.106100] 10 ofpart partitions found on MTD device 8000000.nand
[    2.112227] Creating 10 MTD partitions on "8000000.nand":
[    2.117625] 0x000000000000-0x000000020000 : "NAND.SPL"
[    2.126045] ftl_cs: FTL header not found.
[    2.132164] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    2.140914] ftl_cs: FTL header not found.
[    2.146644] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    2.155434] ftl_cs: FTL header not found.
[    2.161227] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    2.169929] ftl_cs: FTL header not found.
[    2.175714] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    2.186903] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.194925] 0x0000000c0000-0x0000003c0000 : "NAND.u-boot"
[    2.206383] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.212611] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.218777] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.224973] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.233012] 0x0000003c0000-0x0000003e0000 : "NAND.u-boot-env"
[    2.241943] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.249928] 0x0000003e0000-0x000000400000 : "NAND.u-boot-env.backup1"
[    2.259392] ftl_cs: FTL header not found.
[    2.265259] 0x000000400000-0x000000c00000 : "NAND.kernel"
[    2.277394] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.283627] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.289791] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.295988] omap2-nand 8000000.nand: uncorrectable bit-flips found
[    2.303982] 0x000000c00000-0x000020000000 : "NAND.file-system"
[    2.375159] omap2-nand 8000000.nand: uncorrectable bit-fli[    4.935700] ubi0: attaching mtd9
[    5.001073] ubi0: scanning is finished
[    5.004825] ubi0: empty MTD device detected
[    5.018710] ubi0 error: ubi_early_get_peb: no free eraseblocks
[    5.024795] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -28
[    5.031905] UBI error: cannot attach mtd9
[    5.044701] vmmcsd_fixed: disabling
[    5.051153] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[    5.064368] Please append a correct "root=" boot option; here are the available partitions:
[    5.072827] 1f00             128 mtdblock0  (driver?)
[    5.077889] 1f01             128 mtdblock1  (driver?)
[    5.083042] 1f02             128 mtdblock2  (driver?)
[    5.088094] 1f03             128 mtdblock3  (driver?)
[    5.093193] 1f04             256 mtdblock4  (driver?)
[    5.098246] 1f05            3072 mtdblock5  (driver?)
[    5.103338] 1f06             128 mtdblock6  (driver?)
[    5.108390] 1f07             128 mtdblock7  (driver?)
[    5.113481] 1f08            8192 mtdblock8  (driver?)
[    5.118532] 1f09          512000 mtdblock9  (driver?)
[    5.123617] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.131863] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Please let know if I am missing anything.

Thanks,

Mubeen

  • The software team have been notified. They will respond here.
  • Hello Mubeen,

    Can you post the Kernel cmd line you use to boot?

    Best regards,
    Kemal
  • Hi,

    Below is the u-boot params.

    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),3m(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} mtdparts=${mtdparts} 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

    Please let know if any other thing required.

    Thanks,
    Mubeen
  • Can you rename rootwait to rootdelay "setenv nandrootfstype ubifs rootdelay=1", run ARCH=arm make menuconfig in your kernel source directory and disable Device Drivers ---> <*> Memory Technology Device (MTD) support ---> < > FTL (Flash Translation Layer) support, then run nand erase.chip command in U-Boot console once before starting to flash your new images.

  • Hi Kemal,

    I followed the steps mentioned. That did not helped.

    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),3m(NAND.u-boot))
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} mtdparts=${mtdparts} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048
    nandrootfstype=ubifs rootdelay=1

    [ 4.815680] ubi0: attaching mtd9
    [ 4.880713] ubi0: scanning is finished
    [ 4.884461] ubi0: empty MTD device detected
    [ 4.898340] ubi0 error: ubi_early_get_peb: no free eraseblocks
    [ 4.904421] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -28
    [ 4.911523] UBI error: cannot attach mtd9
    [ 4.924423] vmmcsd_fixed: disabling
    [ 4.930712] Waiting 1 sec before mounting root device...
    [ 5.940631] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
    [ 5.953778] Please append a correct "root=" boot option; here are the available partitions:
    [ 5.962228] 1f00 128 mtdblock0 (driver?)
    [ 5.967293] 1f01 128 mtdblock1 (driver?)
    [ 5.972438] 1f02 128 mtdblock2 (driver?)
    [ 5.977490] 1f03 128 mtdblock3 (driver?)
    [ 5.982584] 1f04 256 mtdblock4 (driver?)
    [ 5.987637] 1f05 3072 mtdblock5 (driver?)
    [ 5.992729] 1f06 128 mtdblock6 (driver?)
    [ 5.997780] 1f07 128 mtdblock7 (driver?)
    [ 6.002867] 1f08 8192 mtdblock8 (driver?)
    [ 6.007918] 1f09 512000 mtdblock9 (driver?)
    [ 6.013009] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 6.021255] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 81.470324] random: nonblocking pool is initialized

    I am able to attach the partition in u boot successfully.

    => ubi part NAND.file-system && ubi create NAND.file-system

    ubi0: detaching mtd1
    ubi0: mtd1 is detached
    ubi0: attaching mtd1
    ubi0: scanning is finished
    ubi0: empty MTD device detected
    WARNING in drivers/mtd/nand/nand_base.c line 911
    ubi0: attached mtd1 (name "mtd=9", size 500 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    ubi0: VID header offset: 512 (aligned 512), data offset: 2048
    ubi0: good PEBs: 3999, bad PEBs: 1, corrupted PEBs: 0
    ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 0
    ubi0: available PEBs: 3916, total reserved PEBs: 83, PEBs reserved for bad PEB handling: 79
    No size specified -> Using max size (505257984)
    Creating dynamic volume NAND.file-system of size 505257984
  • Can you post the complete kernel boot log and the steps how you write the ubifs to NAND.file-system?

  • Hi Kemal,

    Below are the details about writing flash images and complete boot log.

    nand erase.chip
    mmc rescan
    fatload mmc 0 0x80000000 MLO
    nand write 0x80000000 0x00000 0x122C4
    mmc rescan
    fatload mmc 0 0x80000000 u-boot.img
    nand write 0x80000000 0xc0000 0x210000
    mmc rescan
    fatload mmc 0 0x80000000 am335x-evmsk.dtb
    nand write 0x80000000 0x80000 0xA000
    mmc rescan
    fatload mmc 0 0x80000000 zImage
    nand write 0x80000000 0x400000 0x300000

    mw.b 0x82000000 0xFF 0x3F00000
    mmc rescan
    fatload mmc 0 0x82000000 RFS.img
    nand write 0x82000000 0xc00000 0x3CC0000


    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.4.12-g3639bea54a (mubeen@MUBEEN-ThinkCentre-M83) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #73 PREEMPT Tu8
    [ 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 AM335x BeagleBone Black
    [ 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 (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 mtdparts=mtdparts=nand.0:128k(NAND.SPL),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: 228408K/262144K available (4287K kernel code, 179K rwdata, 1468K rodata, 220K init, 209K bss, 9160K reserved, 24576K cma-reser)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 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 - 0xc05a6f24 (5756 kB)
    [ 0.000000] .init : 0xc05a7000 - 0xc05de000 ( 220 kB)
    [ 0.000000] .data : 0xc05de000 - 0xc060af08 ( 180 kB)
    [ 0.000000] .bss : 0xc060c000 - 0xc064077c ( 210 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 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.000031] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
    [ 0.000085] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
    [ 0.000111] OMAP clocksource: timer1 at 19200000 Hz
    [ 0.001170] clocksource_probe: no matching clocksources found
    [ 0.001541] Console: colour dummy device 80x30
    [ 0.001612] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.001629] This ensures that you still see kernel messages. Please
    [ 0.001644] update your kernel commandline.
    [ 0.001682] Calibrating delay loop... 302.28 BogoMIPS (lpj=1511424)
    [ 0.057721] pid_max: default: 32768 minimum: 301
    [ 0.058000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.058031] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.059557] Initializing cgroup subsys io
    [ 0.059627] Initializing cgroup subsys memory
    [ 0.059705] Initializing cgroup subsys devices
    [ 0.059745] Initializing cgroup subsys freezer
    [ 0.059780] Initializing cgroup subsys perf_event
    [ 0.059810] Initializing cgroup subsys pids
    [ 0.059876] CPU: Testing write buffer coherency: ok
    [ 0.060667] Setting up static identity map for 0x80008200 - 0x80008258
    [ 0.065829] devtmpfs: initialized
    [ 0.093099] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.126264] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.131227] omap_hwmod: d_can0: _wait_target_ready failed: -16
    [ 0.131254] omap_hwmod: d_can0: cannot be enabled for reset (3)
    [ 0.135141] omap_hwmod: d_can1: _wait_target_ready failed: -16
    [ 0.135161] omap_hwmod: d_can1: cannot be enabled for reset (3)
    [ 0.204339] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.209143] pinctrl core: initialized pinctrl subsystem
    [ 0.215855] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.247732] cpuidle: using governor ladder
    [ 0.277712] cpuidle: using governor menu
    [ 0.288877] OMAP GPIO hardware version 0.1
    [ 0.291970] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpio2_pins, deferring probe
    [ 0.292722] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpio3_pins, deferring probe
    [ 0.301789] GPMC: clk uninitializaed
    [ 0.302323] GPMC: clk uninitializaed [ 0.304802] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pine
    [ 0.311170] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.367859] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.373193] usbcore: registered new interface driver usbfs
    [ 0.373380] usbcore: registered new interface driver hub
    [ 0.373634] usbcore: registered new device driver usb
    [ 0.374505] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.374622] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [ 0.374975] pps_core: LinuxPPS API ver. 1 registered
    [ 0.374997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.377162] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.378278] clocksource: Switched to clocksource timer1
    [ 0.406153] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.410779] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.431537] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [ 0.431606] io scheduler noop registered
    [ 0.431642] io scheduler deadline registered
    [ 0.432041] io scheduler cfq registered (default)
    [ 0.435449] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.440700] lookup for GPIO enable failed
    [ 0.440780] backlight supply power not found, using dummy regulator
    [ 0.441441] pwm-backlight backlight: invalid default brightness level: 53, using 8
    [ 0.595549] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.604971] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 94, base_baud = 3000000) is a 8250
    [ 1.222441] console [ttyS0] enabled
    [ 1.232271] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.238914] ehci-platform: EHCI generic platform driver
    [ 1.244550] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.250076] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 1.256288] ohci-platform: OHCI generic platform driver
    [ 1.263290] mousedev: PS/2 mouse device common for all mice
    [ 1.270940] GTP driver installing...
    [ 1.274859] i2c /dev entries driver
    [ 1.281643] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.288916] sdhci: Secure Digital Host Controller Interface driver
    [ 1.295079] sdhci: Copyright(c) Pierre Ossman
    [ 1.300408] Synopsys Designware Multimedia Card Interface Driver
    [ 1.307261] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.313918] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.320509] usbcore: registered new interface driver usbhid
    [ 1.326065] usbhid: USB HID core driver
    [ 1.330597] omap_voltage_late_init: Voltage driver support not added
    [ 1.339171] ThumbEE CPU extension supported.
    [ 1.343496] Registering SWP/SWPB emulation handler
    [ 1.355929] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.366871] , GPMC_CONFIG7:f48[ 1.373455] ***** device-width:01
    [ 1.376855] ------------[ cut here ]------------
    [ 1.381595] WARNING: CPU: 0 PID: 27 at drivers/memory/omap-gpmc.c:2002 gpmc_probe_generic_child+0x478/0x82c()
    [ 1.391516] enable GPMC debug to configure .dts timings for CS0
    [ 1.397412] Modules linked in:
    [ 1.400523] CPU: 0 PID: 27 Comm: kworker/u2:1 Not tainted 4.4.12-g3639bea54a #73
    [ 1.407888] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 1.414021] Workqueue: deferwq deferred_probe_work_func
    [ 1.419270] Backtrace:
    [ 1.421768] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
    [ 1.429338] r7:c0424bc8 r6:000007d2 r5:00000009 r4:00000000
    [ 1.435047] [<c00136c4>] (show_stack) from [<c0240388>] (dump_stack+0x24/0x28)
    [ 1.442299] [<c0240364>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
    [ 1.450409] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
    [ 1.459099] r8:cf305a10 r7:00000000 r6:c06404b0 r5:cf0e1400 r4:c057dddc
    [ 1.465856] [<c0031b7c>] (warn_slowpath_fmt) from [<c0424bc8>] (gpmc_probe_generic_child+0x478/0x82c)
    [ 1.475064] r3:00000000 r2:c057dddc
    [ 1.478682] r4:cfda9fe4
    [ 1.481233] [<c0424750>] (gpmc_probe_generic_child) from [<c04253f4>] (gpmc_probe+0x478/0x5ac)
    [ 1.489835] r10:cf0e1400 r9:c0609c20 r8:cf305a94 r7:c057e1e0 r6:cf305a10 r5:cfda9fe4
    [ 1.497694] r4:00000000
    [ 1.500290] [<c0424f7c>] (gpmc_probe) from [<c02e90b8>] (platform_drv_probe+0x54/0xb8)
    [ 1.508171] r10:cf2b9e00 r9:00000000 r8:00000003 r7:fffffdfb r6:c0609c38 r5:cf0e1410
    [ 1.516061] r4:c063f2e8
    [ 1.518653] [<c02e9064>] (platform_drv_probe) from [<c02e75c8>] (driver_probe_device+0x204/0x2f8)
    [ 1.527482] r7:c0609c38 r6:00000000 r5:cf0e1410 r4:c063f2e8
    [ 1.533218] [<c02e73c4>] (driver_probe_device) from [<c02e77e0>] (__device_attach_driver+0x8c/0xb4)
    [ 1.542253] r9:00000000 r8:cf002800 r7:00000001 r6:cf0e1410 r5:cf2c9e70 r4:c0609c38
    [ 1.550081] [<c02e7754>] (__device_attach_driver) from [<c02e5790>] (bus_for_each_drv+0x68/0x9c)
    [ 1.558856] r7:00000001 r6:c02e7754 r5:cf2c9e70 r4:00000000
    [ 1.564557] [<c02e5728>] (bus_for_each_drv) from [<c02e731c>] (__device_attach+0xb8/0x11c)
    [ 1.572815] r6:cf0e1444 r5:cf0e1410 r4:cf0e1410
    [ 1.577471] [<c02e7264>] (__device_attach) from [<c02e7854>] (device_initial_probe+0x14/0x18)
    [ 1.585988] r7:c05fb690 r6:c05fb840 r5:cf0e1410 r4:cf0e1410
    [ 1.591728] [<c02e7840>] (device_initial_probe) from [<c02e6834>] (bus_probe_device+0x8c/0x94)
    [ 1.600353] [<c02e67a8>] (bus_probe_device) from [<c02e6c7c>] (deferred_probe_work_func+0x6c/0x98)
    [ 1.609301] r7:c05fb690 r6:c05fb684 r5:c05fb684 r4:cf0e1410
    [ 1.615008] [<c02e6c10>] (deferred_probe_work_func) from [<c0047328>] (process_one_work+0x138/0x424)
    [ 1.624128] r7:cf2bd500 r6:00000000 r5:cf2b9e00 r4:c05fb6a8
    [ 1.629865] [<c00471f0>] (process_one_work) from [<c0047690>] (worker_thread+0x7c/0x648)
    [ 1.637916] r10:cf2b9e00 r9:cf002800 r8:cf002810 r7:ffffe000 r6:00000088 r5:cf2b9e18
    [ 1.645809] r4:cf002800
    [ 1.648402] [<c0047614>] (worker_thread) from [<c004d10c>] (kthread+0xdc/0xf4)
    [ 1.655592] r10:00000000 r9:00000000 r8:00000000 r7:c0047614 r6:cf2b9e00 r5:cf2ba300
    [ 1.663485] r4:00000000
    [ 1.666040] [<c004d030>] (kthread) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
    [ 1.673262] r7:00000000 r6:00000000 r5:c004d030 r4:cf2ba300
    [ 1.678981] ---[ end trace 329780eaa5f5bb88 ]---
    [ 1.683585] gpmc cs0 please add GPMC bootloader timings to .dts:
    [ 1.689601] cs0 GPMC_CS_CONFIG1: 0x00000800
    [ 1.693773] cs0 GPMC_CS_CONFIG2: 0x001e1e00
    [ 1.697942] cs0 GPMC_CS_CONFIG3: 0x001e1e00
    [ 1.702144] cs0 GPMC_CS_CONFIG4: 0x16051807
    [ 1.706313] cs0 GPMC_CS_CONFIG5: 0x00151e1e
    [ 1.710513] cs0 GPMC_CS_CONFIG6: 0x16000f80
    [ 1.714685] cs0 GPMC_CS_CONFIG7: 0x00000f48
    [ 1.718881] gpmc cs0 access configuration:
    [ 1.722969] gpmc,mux-add-data = <0>
    [ 1.726448] gpmc,device-width = <0>
    [ 1.729955] gpmc,wait-pin = <0>
    [ 1.733090] gpmc,burst-length = <4>
    [ 1.736576] gpmc,cycle2cycle-samecsen = <1>
    [ 1.740774] gpmc cs0 timings configuration:
    [ 1.744954] gpmc,cs-on-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.750461] gpmc,cs-rd-off-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.756882] gpmc,cs-wr-off-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.763334] gpmc,adv-on-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.768923] gpmc,adv-rd-off-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.775430] gpmc,adv-wr-off-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.781968] gpmc,oe-on-ns = <138> /* 119 ns - 138 ns; 7 ticks */
    [ 1.787957] gpmc,oe-off-ns = <474> /* 456 ns - 474 ns; 24 ticks */
    [ 1.794150] gpmc,we-on-ns = <98> /* 80 ns - 98 ns; 5 ticks */
    [ 1.799913] gpmc,we-off-ns = <435> /* 416 ns - 435 ns; 22 ticks */
    [ 1.806074] gpmc,rd-cycle-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.812440] gpmc,wr-cycle-ns = <593> /* 574 ns - 593 ns; 30 ticks */
    [ 1.818806] gpmc,access-ns = <415> /* 396 ns - 415 ns; 21 ticks */
    [ 1.824967] gpmc,page-burst-access-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.831503] gpmc,bus-turnaround-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.837754] gpmc,cycle2cycle-delay-ns = <296> /* 278 ns - 296 ns; 15 ticks */
    [ 1.844895] gpmc,wait-monitoring-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.851258] gpmc,clk-activation-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.857506] gpmc,wr-data-mux-bus-ns = <0> /* 0 ns - 0 ns; 0 ticks */
    [ 1.863870] gpmc,wr-access-ns = <435> /* 416 ns - 435 ns; 22 ticks */
    [ 1.894942] nand: nand_set_defaults: busw to be set:08
    [ 1.901115] nand: NAND_CMD_RESET,NAND_CMD_READID
    [ 1.906234] nand: read ID :
    [ 1.909314] nand: id_data[00] : c2nand: id_data[01] : dc
    [ 1.914631] nand: id_data[02] : 90nand: id_data[03] : 95
    [ 1.919978] nand: id_data[04] : 56nand: id_data[05] : 00
    [ 1.925292] nand: id_data[06] : 00nand: id_data[07] : 00
    [ 1.930635] nand:
    [ 1.932826] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.939095] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.945334] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.951602] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.957840] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.964106] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.970376] nand: No NAND data found in nand_flash_ids for given ID
    [ 1.980657] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
    [ 1.986986] nand: Macronix MX30LF4G18AC
    [ 1.990848] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.998483] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 2.004055] 10 ofpart partitions found on MTD device 8000000.nand
    [ 2.010195] Creating 10 MTD partitions on "8000000.nand":
    [ 2.015596] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 2.024066] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 2.032953] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 2.041496] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 2.050034] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 2.058687] 0x0000000c0000-0x0000003c0000 : "NAND.u-boot"
    [ 2.067036] 0x0000003c0000-0x0000003e0000 : "NAND.u-boot-env"
    [ 2.075558] 0x0000003e0000-0x000000400000 : "NAND.u-boot-env.backup1"
    [ 2.084769] 0x000000400000-0x000000c00000 : "NAND.kernel"
    [ 2.093926] 0x000000c00000-0x000020000000 : "NAND.file-system"
    [ 2.191417] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [ 2.197420] 0-0014 supply vdd_ana not found, using dummy regulator
    [ 2.203813] 0-0014 supply vcc_i2c not found, using dummy regulator
    [ 2.338687] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
    [ 2.458321] <<-GTP-ERROR->> GTP i2c test failed time 1.
    [ 2.478659] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
    [ 2.598322] <<-GTP-ERROR->> GTP i2c test failed time 2.
    [ 2.618663] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
    [ 2.738312] <<-GTP-ERROR->> GTP i2c test failed time 3.
    [ 2.758674] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
    [ 2.878317] <<-GTP-ERROR->> GTP i2c test failed time 4.
    [ 2.898655] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
    [ 3.018321] <<-GTP-ERROR->> GTP i2c test failed time 5.
    [ 3.038323] <<-GTP-ERROR->> I2C communication ERROR!
    [ 3.043613] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -121! Process reset.
    [ 3.168319] <<-GTP-ERROR->> GTP read version failed
    [ 3.173183] <<-GTP-ERROR->> Read version failed.
    [ 3.178129] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.298656] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.418661] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.538655] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.658668] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.778662] <<-GTP-ERROR->> I2C Read: 0x41E4, 1 bytes failed, errcode: -121! Process reset.
    [ 3.898323] <<-GTP-ERROR->> I2C read 0x41E4, 1 bytes, double check failed!
    [ 3.905518] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.028657] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.148662] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.268659] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.388659] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.508656] <<-GTP-ERROR->> I2C Read: 0x814A, 1 bytes failed, errcode: -121! Process reset.
    [ 4.628325] <<-GTP-ERROR->> I2C read 0x814A, 1 bytes, double check failed!
    [ 4.635173] <<-GTP-ERROR->> Failed to get sensor_id, No config sent!
    [ 4.641532] <<-GTP-ERROR->> GTP init panel failed.
    [ 4.646970] input: goodix-ts as /devices/virtual/input/input0
    [ 4.653543] i2c i2c-0: Failed to register i2c client tps65217 at 0x24 (-16)
    [ 4.660568] i2c i2c-0: of_i2c: Failure registering /ocp/i2c@44e0b000/tps65217@24
    [ 4.667988] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 4.676717] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 40 kHz
    [ 4.684739] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 303157 KHz
    [ 4.692296] cpu cpu0: dev_pm_opp_domain_set_rate: failed to find current OPP for freq 303157894 (-34)
    [ 4.703723] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 300000 KHz
    [ 4.713461] ubi0: attaching mtd9
    [ 4.778414] ubi0: scanning is finished
    [ 4.782164] ubi0: empty MTD device detected
    [ 4.796063] ubi0 error: ubi_early_get_peb: no free eraseblocks
    [ 4.802148] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -28
    [ 4.809252] UBI error: cannot attach mtd9
    [ 4.821902] vmmcsd_fixed: disabling
    [ 4.827957] Waiting 1 sec before mounting root device...
    [ 5.838631] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
    [ 5.851783] Please append a correct "root=" boot option; here are the available partitions:
    [ 5.860220] 1f00 128 mtdblock0 (driver?)
    [ 5.865283] 1f01 128 mtdblock1 (driver?)
    [ 5.870426] 1f02 128 mtdblock2 (driver?)
    [ 5.875478] 1f03 128 mtdblock3 (driver?)
    [ 5.880572] 1f04 256 mtdblock4 (driver?)
    [ 5.885622] 1f05 3072 mtdblock5 (driver?)
    [ 5.890712] 1f06 128 mtdblock6 (driver?)
    [ 5.895764] 1f07 128 mtdblock7 (driver?)
    [ 5.900852] 1f08 8192 mtdblock8 (driver?)
    [ 5.905903] 1f09 512000 mtdblock9 (driver?)
    [ 5.910992] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 5.919238] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 81.368316] random: nonblocking pool is initialized
  • You are using RFS.img which doesn't seem to be an UBI. Please, use <Processor SDK>/filesystem/arago-base-tisdk-image-am335x-evm.ubi and check whether the UBI is attaching.

  • Hi Kemal,

    I do not think this is an issue with the image, attaching a ubi partition does not require image. As already updated this is successful in u-boot with same image. I have used pre built image and:

    Results are same on using arago-base-tisdk-image-am335x-evm.ubi.

    => mw.b 0x82000000 0xFF 0x3F00000
    => fatload mmc 0 0x82000000 arago-base-tisdk-image-am335x-evm.ubi
    reading arago-base-tisdk-image-am335x-evm.ubi
    63700992 bytes read in 8730 ms (7 MiB/s)
    => nand erase 0xc00000 0x3E00000
    NAND erase: device 0 offset 0xc00000, size 0x3e00000
    Skipping bad block at 0x03c00000
    Erasing at 0x49e0000 -- 100% complete.
    OK
    => nand write 0x82000000 0xc00000 0x3cc0000
    [ 1.901201] nand: **** NAND_CMD_RESET,NAND_CMD_READID
    [ 1.906319] nand: **** read ID :
    [ 1.909399] nand: id_data[00] : c2nand: id_data[01] : dc
    [ 1.914716] nand: id_data[02] : 90nand: id_data[03] : 95
    [ 1.920063] nand: id_data[04] : 56nand: id_data[05] : 00
    [ 1.925379] nand: id_data[06] : 00nand: id_data[07] : 00
    [ 1.930721] nand:

    [ 1.977142] nand: **** ONFI detected
    [ 1.980746] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
    [ 1.987072] nand: Macronix MX30LF4G18AC
    [ 1.990934] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.998571] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 2.004144] 10 ofpart partitions found on MTD device 8000000.nand
    [ 2.010276] Creating 10 MTD partitions on "8000000.nand":
    [ 2.015675] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 2.024138] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 2.032964] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 2.041510] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 2.050043] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 2.058704] 0x0000000c0000-0x0000003c0000 : "NAND.u-boot"
    [ 2.067055] 0x0000003c0000-0x0000003e0000 : "NAND.u-boot-env"
    [ 2.075584] 0x0000003e0000-0x000000400000 : "NAND.u-boot-env.backup1"
    [ 2.084796] 0x000000400000-0x000000c00000 : "NAND.kernel"
    [ 2.093959] 0x000000c00000-0x000020000000 : "NAND.file-system"

    [ 4.713449] ubi0: attaching mtd9
    [ 4.778464] ubi0: scanning is finished
    [ 4.791699] good_peb_count:0, corr_peb_count:0
    [ 4.796111] ubi0 error: ubi_early_get_peb: no free eraseblocks
    [ 4.802193] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -28
  • In your complete boot log I noticed some GPMC errors and some register/timing changes for the .dts file. Did you try them?

    Steve K.
  • Are you still having problems?

    Steve K.