bootloader build fails

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

bootloader build fails

Jump to solution
1,051 Views
davenadler
Senior Contributor I

K64F freedom board, Kinetis 3.0, KSDK2.0.
I imported the bootloader 2.0 project for this chip/board and tried to build it.

It fails as follows:

C:\K64\NXP_Kinetis_Bootloader_2_0_0\targets\MK64F12\kds\flashloader\debug>python ..\..\..\..\..\bin\create_fl_image_kds.py flashloader.elf flashloader.bin flashloader_image.c
'python' is not recognized as an internal or external command,
operable program or batch file.
makefile:72: recipe for target 'post-build' failed
make[1]: [post-build] Error 1 (ignored)

Python install is not mentioned in the bootloader reference manual.

  1. What version of Python is required?
  2. What is the post-process step used for here?

Thanks!
Best Regards, Dave

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
710 Views
DavidS
NXP Employee
NXP Employee

Hi Dave,

C:\NXP\NXP_Kinetis_Bootloader_2_0_0\doc\Kinetis Bootloader v2.0.0 Release Notes.pdf page 2 has following:

Host projects:

. Microsoft Visual StudioR Professional 2015 for WindowsR OS Desktop

. Microsoft NET Framework v4.5 (included in Windows OS 8)

. Microsoft Visual Studio C++ Redistributable for Visual Studio 2013 (vcredist_x86.exe)

. Python v2.7 (www.python.org )

. Keil MDK v5.18 with corresponding packs

NOTE

The Python path must be added to the system environment path. For example, C:

\Python27.

. Apple XcodeR v7.3 (for the blhost and elftosb tools)

. LinuxR OS GNU Compiler (GCC) v4.8.1 (for the blhost tool), libstdc++6, libudev-dev, libc6, and libgcc1 (for the

blhost tool) for the Linux build. Running blhost on Linux OS requires the following libraries to be installed: libstdc+

+.so.6, libudev.so.1, libc.so.6, libgcc_s.so.1, and libpthread.so.0

. Linux OS tools have been tested on Ubuntu 14.04 LTS

. Apple MacR OS host tools have been tested on Mac OS 10.11.4

3 System requirements

System requirements are based on the requirements for the development tools and the Kinetis Flash Tool application.

The recommended PC configuration is 2 GHz processor, 2 GB RAM, and 2 GB free disk space.

Windows OS applications like QCBGenerator.exe require installation of Visual C++ redistributable 2013 or greater.

.Net framework 4.5

. JP version: www.microsoft.com/ja-JP/download/details.aspx?id=30653

. US version: www.microsoft.com/en-US/download/details.aspx?id=30653

VS++ redistributable 2013

. JP version: www.microsoft.com/ja-JP/download/details.aspx?id=40784

. US version: www.microsoft.com/en-us/download/details.aspx?id=40784

Regards,

David

View solution in original post

0 Kudos
Reply
2 Replies
711 Views
DavidS
NXP Employee
NXP Employee

Hi Dave,

C:\NXP\NXP_Kinetis_Bootloader_2_0_0\doc\Kinetis Bootloader v2.0.0 Release Notes.pdf page 2 has following:

Host projects:

. Microsoft Visual StudioR Professional 2015 for WindowsR OS Desktop

. Microsoft NET Framework v4.5 (included in Windows OS 8)

. Microsoft Visual Studio C++ Redistributable for Visual Studio 2013 (vcredist_x86.exe)

. Python v2.7 (www.python.org )

. Keil MDK v5.18 with corresponding packs

NOTE

The Python path must be added to the system environment path. For example, C:

\Python27.

. Apple XcodeR v7.3 (for the blhost and elftosb tools)

. LinuxR OS GNU Compiler (GCC) v4.8.1 (for the blhost tool), libstdc++6, libudev-dev, libc6, and libgcc1 (for the

blhost tool) for the Linux build. Running blhost on Linux OS requires the following libraries to be installed: libstdc+

+.so.6, libudev.so.1, libc.so.6, libgcc_s.so.1, and libpthread.so.0

. Linux OS tools have been tested on Ubuntu 14.04 LTS

. Apple MacR OS host tools have been tested on Mac OS 10.11.4

3 System requirements

System requirements are based on the requirements for the development tools and the Kinetis Flash Tool application.

The recommended PC configuration is 2 GHz processor, 2 GB RAM, and 2 GB free disk space.

Windows OS applications like QCBGenerator.exe require installation of Visual C++ redistributable 2013 or greater.

.Net framework 4.5

. JP version: www.microsoft.com/ja-JP/download/details.aspx?id=30653

. US version: www.microsoft.com/en-US/download/details.aspx?id=30653

VS++ redistributable 2013

. JP version: www.microsoft.com/ja-JP/download/details.aspx?id=40784

. US version: www.microsoft.com/en-us/download/details.aspx?id=40784

Regards,

David

0 Kudos
Reply
710 Views
davenadler
Senior Contributor I

Thanks David, I looked in the bootloader reference manual, but I did not look in the release notes...
Best Regards, Dave

0 Kudos
Reply