Complete Boot from QSPI nor flash for imx6ull and MFG(4.9.11) tool support to flash u-boot, kernel,dtb and rootfs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Complete Boot from QSPI nor flash for imx6ull and MFG(4.9.11) tool support to flash u-boot, kernel,dtb and rootfs

2,621件の閲覧回数
jayebc
Contributor II

Hi all,
>>     I am using imx6ull nxp board. In the reference board 32MB(256Mb) QSPI nor flash is used. Is it possible boot from QSPI by flashing complete u-boot,kernel, dtb and   
        rootfs to QSPI nor flash?
>>  I have tried flashing using mfg tool(4.9.11), but I am able to flash only U-boot(see below logs).

        U-Boot 2017.03-nxp/imx_v2017.03_4.9.11_1.0.0_ga+ga2fea67 (Jul 06 2018 - 16:01:17 +0530)

        CPU:   Freescale i.MX6ULL rev1.0 at 396MHz
        CPU:   Commercial temperature grade (0C to 95C) at 46C
        Reset cause: WDOG
        Model: Freescale i.MX6 ULL 14x14 EVK Board
         Board: MX6ULL 14x14 EVK
         DRAM:  512 MiB
          MMC:   FSL_SDHC: 0, FSL_SDHC: 1
        SF: Detected n25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
        Display: TFT43AB (480x272)
        Video: 480x272x24
         In:    serial
         Out:   serial
        Err:   serial
        Net:   eth1: ethernet@020b4000 [PRIME], eth0: ethernet@02188000
        Normal Boot
        Hit any key to stop autoboot:  0
        Card did not respond to voltage select!
        mmc_init: -95, time 47
        Card did not respond to voltage select!
        mmc_init: -95, time 47
        MMC: no card present
         mmc_init: -123, time 2
       Booting from net ...
      ethernet@020b4000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
      Could not initialize PHY ethernet@020b4000
      BOOTP broadcast 1
      BOOTP broadcast 2
      BOOTP broadcast 3
      BOOTP broadcast 4

>> Is mfg tool(4.9.11) supports to flash complete OS(u-boot,kernel, dtb and rootfs) to QSPI nor flash?

 >> OR We need to use QSPI nor flash only for u-boot? The kernel, dtb rootfs should be loaded to other boot device?

Eagerly waiting for response. Please help if someone already worked on it.

Thanks in advance
Jaya

ラベル(2)
0 件の賞賛
6 返答(返信)

1,730件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jaya

>> Is mfg tool(4.9.11) supports to flash complete OS(u-boot,kernel, dtb and rootfs) to QSPI nor flash?

it may not support as full size of these images may be too big to fit to qspi.
One can try to generate small rootfs so overall size of these images will fit to qspi.

>> OR We need to use QSPI nor flash only for u-boot? The kernel, dtb rootfs should be loaded to other boot device?

one can look at example for SCM it has example for spi programming all images, for qspi it will be similar.

Programmers (Flash, etc.)
SCM_IMX6_M6.0.1_2.1.0_MFGTOOL
SCM-i.MX 6 Series Manufacturing Toolkit for Linux 4.1.15_2.0.0
Quick Start Board for SCM-i.MX 6DQ|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

1,730件の閲覧回数
jayebc
Contributor II

Hello Igor,

Noe I am able to flash U-boot. But I wanted to test qspi by writing and reading it back. With this I need to test all sectors of qspi. Could pleaase suggest me  how I need to test all sectors of QSPI  to shoow all sectors are fine.

Thanks and Regards,

Jaya

0 件の賞賛

1,730件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jaya

one can try read/write tests from uboot:

sf erase, sf write, sf read

Best regards
igor

0 件の賞賛

1,730件の閲覧回数
jayebc
Contributor II

Hi Igor,

Actually  I want to know the memory address(start and end address) for 256mb qspi and how I can test using above commands so that I can test all sectors of QSPI nor flash.

Thanks in advance

Jaya

0 件の賞賛

1,730件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jaya

for qspi memory address one can look at

Table 2-1. System memory map i.MX6ULL Reference Manual 

http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf 

Best regards
igor

0 件の賞賛

1,730件の閲覧回数
jayebc
Contributor II

Thank you igor.

0 件の賞賛