T2080RDB U-boot compilation failing for NOR after compiled for NAND/SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T2080RDB U-boot compilation failing for NOR after compiled for NAND/SPI

985 Views
singhawadhesh
Contributor I

Hi Team,

We are using T2080RDB for one of the our custom CPU based on T2081. We are using modified u-boot of T2080RDB for T2081.

We have compiled u-boot of T2080RDB for NAND and SPI NOR boot media options and it's working fine. Now when we are trying compile it for NOR defconfig, it it not completing the compilation and creating 4GB file for u-boot.bin.

Same problem we are facing in u-boot for our custom board having T2081.

Please let us know the possible fix for the same.

Thanks,

Awadhesh

0 Kudos
3 Replies

974 Views
yipingwang
NXP TechSupport
NXP TechSupport

Would you please provide your u-boot compilation procedure?

0 Kudos

949 Views
singhawadhesh
Contributor I

Hi Yipingwang,

The procedure is as follows:

1. We are using the standalone tool-chain method for compiling the u-boot (steps are as followed by SDK2.0).

2. For NAND we had used 

        2.1 first we have sourced the toolchain through source command  "source /opt/fsl-qoriq/2.0/environment-setup-ppce6500-fsl-linux"

       2.2 Now with the help of config file "T2080RDB_NAND_defconfig" we are compiling using make command.

        2.3 After step 2.2, we are using make -j16 command to obtain the u-boot bin file which is around 768KB.

Later when we try to compile for NOR using same procedure as mentioned above we are getting around 4GB size U-boot image, which was getting compiled before switching to NAND/SPI defconfigs.

Please help us to resolve the issue.

 

Thanks,

Awadhesh

 

0 Kudos

904 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please run the following commands.

$ make distclean

$ make T2080RDB_defconfig

$ make CROSS_COMPILE=powerpc-fsl-linux-

0 Kudos