U-boot build issue for T2080qds

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

U-boot build issue for T2080qds

Jump to solution
1,641 Views
manjunath_ganga
Contributor I

Hi Community,

I am customizing u-boot using reference u-boot source from NXP. Following downloaded and installed on CentOS

  • QorIQ Linux SDK v2.0 PPCE6500 Yocto Cache.iso
  • QorIQ Linux SDK v2.0 SOURCE.iso
  • QorIQ Linux SDK v2.0-1703.tar.bz2

Steps:

  • After setting host system, running "bitbake -c compile -f u-boot"; (works fine)
  • bitbake u-boot; (works fine)
  • Now make changes in u-boot. It generates .config 
  • Again run "bitbake -c compile -f u-boot" , it gives error

| CHK include/generated/timestamp_autogenerated.h
| GEN ./Makefile
| UPD include/config/uboot.release
| UPD include/generated/timestamp_autogenerated.h
| CFG u-boot.cfg
| Using .. as source for U-Boot
| .. is not clean, please run 'make mrproper'
| in the '..' directory.
| make[1]: *** [prepare3] Error 1
| make: *** [sub-make] Error 2
| ERROR: oe_runmake failed

Following steps as explained in the document, 

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

 

Labels (1)
0 Kudos
1 Solution
1,627 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please go to u-boot source code folder build_t2080qds/tmp/work/t2080qds-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git to run command "make mrproper", then modify the source code and run command "bitbake u-boot -c compile -f".

 

Please refer to the following procedure to modify u-boot source code and rebuild u-boot.

1. $ bitbake u-boot -c cleansstate

2. $ bitbake u-boot  -c patch

3. Go to u-boot source code folder "build_t2080qds/tmp/work/t2080qds-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git" to modify u-boot source code.

4. bitbake u-boot -c compile -f

5. Go to step 3 to modify u-boot source code again.

6. bitbake u-boot

View solution in original post

0 Kudos
2 Replies
1,628 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please go to u-boot source code folder build_t2080qds/tmp/work/t2080qds-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git to run command "make mrproper", then modify the source code and run command "bitbake u-boot -c compile -f".

 

Please refer to the following procedure to modify u-boot source code and rebuild u-boot.

1. $ bitbake u-boot -c cleansstate

2. $ bitbake u-boot  -c patch

3. Go to u-boot source code folder "build_t2080qds/tmp/work/t2080qds-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git" to modify u-boot source code.

4. bitbake u-boot -c compile -f

5. Go to step 3 to modify u-boot source code again.

6. bitbake u-boot

0 Kudos
1,622 Views
manjunath_ganga
Contributor I

Is there any document which gives step-by-step guide for customization of u-boot?

When i flash u-boot.bin and load symbol file to debug, I don't see _start_page. It has become difficult to understand where to start.

0 Kudos