My previous response has the kernel boot messages. Here is the summary.
- uboot is able to scrub both MX30LF4G28AC and MX30LF4G28AD.
- Linux kernel recognizes both MX30LF4G28AC and MX30LF4G28AD. Notice the page size, erase size, OOB size being detected correctly for both. Chip ID is the same between the two per migration guide.
- Running `flash_erase /dev/mtd0 0 0` works for both flash from user space.
- ISSUE: running `kobs-ng init -x -v --search_exponent=1 --chip_0_device_path=/dev/mtd0 $FILE` fails for MX30LF4G28AD but not MX30LF4G28AC.
uboot scrubbing for MX30LF4G28AC:
DRAM: 512 MiB
NAND: New GPMI ac-timing=0x10101@init 512 MiB
Using default environment
In: serial
Out: serial
Err: serial
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;nand scrub -y 0 0x20000000;nand erase.chip;bootz ${loadaddr} ${initrd_addr};
Hit any key to stop autoboot: 0
NAND scrub: device 0 whole chip
Erasing at 0x1a8c0000 -- 83% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1ae00000 -- 84% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1b300000 -- 85% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1c780000 -- 89% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1eb80000 -- 96% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1ffc0000 -- 100% complete.
OK
NAND erase.chip: device 0 whole chip
Skipping bad block at 0x1ad80000
Skipping bad block at 0x1b200000
Skipping bad block at 0x1b480000
Skipping bad block at 0x1cb40000
Skipping bad block at 0x1ec00000
Erasing at 0x1ffc0000 -- 100% complete.
OK
Kernel image @ 0x80800000 [ 0x000000 - 0x2fc2a0 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8591032 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
No gpc device node -9, force to ldo-enable.
Starting kernel ...
uboot scrubbing for MX30LF4G28AD:
DRAM: 512 MiB
NAND: New GPMI ac-timing=0x10101@init 512 MiB
Using default environment
In: serial
Out: serial
Err: serial
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;nand scrub -y 0 0x20000000;nand erase.chip;bootz ${loadaddr} ${initrd_addr};
Hit any key to stop autoboot: 0
NAND scrub: device 0 whole chip
Erasing at 0x2e00000 -- 9% complete.
nand0: MTD Erase failure: -5
Erasing at 0xa3c0000 -- 32% complete.
nand0: MTD Erase failure: -5
Erasing at 0x1ffe0000 -- 100% complete.
OK
NAND erase.chip: device 0 whole chip
Skipping bad block at 0x031e0000
Skipping bad block at 0x0a7a0000
Erasing at 0x1ffe0000 -- 100% complete.
OK
Kernel image @ 0x80800000 [ 0x000000 - 0x2fc2a0 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8591032 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
No gpc device node -9, force to ldo-enable.
Starting kernel ...
Kernel boot messages with MX30LF4G28AC:
[ 1.608886] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[ 1.615276] nand: Macronix MX30LF4G28AC
[ 1.619121] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[ 1.632481] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[ 1.639968] Bad block table not found for chip 0
[ 1.645027] Bad block table not found for chip 0
[ 1.649654] Scanning device for bad blocks
...
[ 2.038646] gpmi-nand 1806000.gpmi-nand: driver registered.
Kernel boot messages with MX30LF4G28AD:
[ 1.609205] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[ 1.615596] nand: Macronix MX30LF4G28AD
[ 1.619443] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[ 1.632804] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[ 1.640325] Bad block table not found for chip 0
[ 1.645391] Bad block table not found for chip 0
[ 1.650015] Scanning device for bad blocks
...
[ 1.943315] gpmi-nand 1806000.gpmi-nand: driver registered.