AnsweredAssumed Answered

i.mx6ulevk nand too small?

Question asked by Belgin Stirbu on Jul 12, 2016
Latest reply on Jul 13, 2016 by Belgin Stirbu

Hello! I've followed the steps How-To use NAND boot on i.MX6UL EVK board but this is the result after booting with mfgtools2. I am certain the nand flash is big enough. What am I doing wrong?

 

g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage

UTP: received command '$ flash_erase /dev/mtd0 0 0'

UTP: executing "flash_erase /dev/mtd0 0 0"

Erasing 2048 Kibyte @ b200000 --  4 % complete flash_erase: Skipping bad block a

t 0b400000

flash_erase: Skipping bad block at 0b600000

random: nonblocking pool is initializedcomplete

Erasing 2048 Kibyte @ ff600000 -- 99 % complete flash_erase: Skipping bad block

at ff800000

flash_erase: Skipping bad block at ffa00000

flash_erase: Skipping bad block at ffc00000

flash_erase: Skipping bad block at ffe00000

Erasing 2048 Kibyte @ ffe00000 -- 100utp_poll: pass returned.

% complete

UTP: sending Success to kernel for command $ flash_erase /dev/mtd0 0 0.

UTP: received command 'send'

UTP: sending Success to kernel for command send.

UTP: received command '$ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE

'

UTP: executing "kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE"

MTD CONFIG:

  chip_0_device_path = "/dev/mtd0"

  chip_1_device_path = "(null)"

  search_exponent = 2

  data_setup_time = 80

  data_hold_time = 60

  address_setup_time = 25

  data_sample_time = 6

  row_address_size = 3

  column_address_size = 2

  read_command_code1 = 0

  read_command_code2 = 48

  boot_stream_major_version = 1

  boot_stream_minor_version = 0

  boot_stream_sub_version = 0

  ncb_version = 3

  boot_stream_1_address = 0

  boot_stream_2_address = 0

         -- We add the 1k-padding to the uboot.

.tmp_kobs_ng: verifying using key '00000000000000000000000000000000'

.tmp_kobs_ng: is a valid bootstream for key '00000000000000000000000000000000'

mtd: opening: "/dev/mtd0"

NFC geometry :

        ECC Strength       : 40

        Page Size in Bytes : 8936

        Metadata size      : 10

        ECC Chunk Size in byte : 1024

        ECC Chunk count        : 8

        Block Mark Byte Offset : 7692

        Block Mark Bit Offset  : 0

====================================================

mtd: opened '/dev/mtd0' - '(null)'

mtd: mtd size too small

mtd_init failed!

UTP: sending Non-success to kernel for command $ kobs-ng init -x -v --chip_0_dev

ice_path=/dev/mtd0 $FILE.

utp_poll: exit with status 1280

Outcomes