How to build a QSPI uboot in IoT-gateway-platform-Release-V0.1-20170120

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build a QSPI uboot in IoT-gateway-platform-Release-V0.1-20170120

Jump to solution
297 Views
Contributor I

Hi 

I am trying to build a uboot from IoT-gateway-platform-Release-V0.1-20170120 SDK, but seems it only support boot from SD card when I was take look in sources/meta-nxp-npi/conf/machine/ls1021aiot.conf

#@TYPE: Machine

#@NAME: NXP LS1021AIOT board

#@SOC: ls102xa

#@DESCRIPTION: Machine configuration for running LS1021AIOT in 32-bit mode

#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>

require conf/machine/include/qoriq-arm.inc

require conf/machine/include/tune-cortexa7.inc

SOC_FAMILY = "ls102xa"

UBOOT_CONFIG ??= "sdcard"

UBOOT_CONFIG[sdcard] = "ls1021aiot_sdcard_defconfig,,u-boot-with-spl-pbl.bin"

KERNEL_DEVICETREE ?= "ls1021a-iot.dtb"

KERNEL_DEFCONFIG ?= "${S}/arch/arm/configs/multi_v7_defconfig"

KBUILD_DEFCONFIG ?= "multi_v7_defconfig"

USE_VT ?= "0"

How I can add QSPI support in this SDK? 

Thank you

Labels (1)
0 Kudos
1 Solution
21 Views
NXP TechSupport
NXP TechSupport

Look at the Section 3.2.2 of NXP SDK 2.0-1703 documentation:

http://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

* The source ISO contains the package source tarballs and Yocto Project recipes. It can be installed and used to do non-cache build.

* The cache ISO contains the pre-built cache binaries. To avoid a long time build, you can install the source ISO and the cache ISO in the same installation folder.

* The image ISO includes all prebuilt images: flash images, standalone toolchain installer, HD rootfs images and small images.

* The source ISO can be used separately. The cache ISO and the source ISO should work together.


Have a great day,
Pavel Chubakov

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

View solution in original post

0 Kudos
6 Replies
22 Views
NXP TechSupport
NXP TechSupport

Look at the Section 3.2.2 of NXP SDK 2.0-1703 documentation:

http://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

* The source ISO contains the package source tarballs and Yocto Project recipes. It can be installed and used to do non-cache build.

* The cache ISO contains the pre-built cache binaries. To avoid a long time build, you can install the source ISO and the cache ISO in the same installation folder.

* The image ISO includes all prebuilt images: flash images, standalone toolchain installer, HD rootfs images and small images.

* The source ISO can be used separately. The cache ISO and the source ISO should work together.


Have a great day,
Pavel Chubakov

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

View solution in original post

0 Kudos
21 Views
NXP TechSupport
NXP TechSupport

The industrial IoT release does not  use the bitbake method any more. After the build, the kernel and uboot source can be found in sub-directory of build_dir/. It is based on lede/openwrt

See attachment.


Have a great day,
Pavel Chubakov

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

0 Kudos
21 Views
Contributor I

Hi Pavel,

Thanks for the reminder. 

I saw a lot of files on that download page, I only need to download the QorIQ Linux SDK v2.0 CORTEXA7 Yocto Cache.iso is fine?

Thanks

0 Kudos
21 Views
NXP TechSupport
NXP TechSupport

NXP SDK 2.0-1703 supports the following:

    b4420qds-64b b4420qds b4860qds-64b b4860qds
    c293pcie
    ls1021atwr ls1043aqds ls1043ardb ls1043ardb-32b ls2080ardb
    p2041rdb p3041ds p4080ds p5020ds-64b p5020ds p5040ds-64b p5040ds
    t1023rdb-64b t1023rdb t1024rdb-64b t1024rdb t1040d4rdb-64b t1040d4rdb t1042d4rdb-64b
    t1042d4rdb t2080qds-64b t2080qds t2080rdb-64b t2080rdb t4160qds-64b t4160qds t4240qds-64b
    t4240qds t4240rdb-64b t4240rdb
    ls1012afrdm-32b ls1012afrdm ls1012ardb-32b ls1012ardb ls1043ardb-32b ls1046ardb-32b ls1046ardb ls2088ardb

Change the ls1021atwr for iot board.

Have a great day,
Pavel Chubakov

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

0 Kudos
21 Views
Contributor I

Hi Pavel,

Thank you.

Just quick question, Does the SDK2.0 support the LS1021a-iot platform?

Yuqian

0 Kudos
21 Views
NXP TechSupport
NXP TechSupport

This SDK supports only SD card boot.

Use SDK 2.0 if different boot is needed:

http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-proce...


Have a great day,
Pavel Chubakov

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

0 Kudos