/home/zyc/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/pkc-host/pkc-host_git.bb, do_compile

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

/home/zyc/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/pkc-host/pkc-host_git.bb, do_compile

870 Views
15982323062
Contributor II

I have this problem when I compile with bitbake fsl-image-kernelitb. What should I do?

Tags (1)
0 Kudos
Reply
2 Replies

719 Views
Pavel
NXP Employee
NXP Employee

Use Ubuntu 14. Do not use Ubuntu 16.

Usually the following command sequence is used for SDK installing under Ubuntu 14.04 64-bit:

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK source .iso file
  2. cd <sdk-install-dir>.
  3. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal
  2. bitbake fsl-image-kernelitb


Have a great day,
Pavel Chubakov

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

719 Views
15982323062
Contributor II

=>i2c mw 0x24 0x7 0xfc; i2c mw 0x24 0x3 0xf5
=>tftp 0x80000000 <u-boot_file_name>.bin
=>sf probe 0:0
=>sf erase 0x100000 +$filesize
=>sf write 0x80000000 0x100000 $filesize
=> reset

After running these commands, u-boot does not boot. What should I do?

0 Kudos
Reply