i.mx6ulevk nand too small?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.mx6ulevk nand too small?

跳至解决方案
1,807 次查看
belginstirbu
Contributor I

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

标签 (2)
标记 (2)
1 解答
1,043 次查看
belginstirbu
Contributor I

I've fixed the issue by applying these modifications

Commit: 2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54 - uboot (git) - OSDN

and then recompiling u-boot like in the instructions in my original post.

By the way, to recompile you need to run `make' a little differently, like this

cd fsl-release-bsp/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-

在原帖中查看解决方案

1 回复
1,044 次查看
belginstirbu
Contributor I

I've fixed the issue by applying these modifications

Commit: 2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54 - uboot (git) - OSDN

and then recompiling u-boot like in the instructions in my original post.

By the way, to recompile you need to run `make' a little differently, like this

cd fsl-release-bsp/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-