How do I customize flex-builder configuration for a custom board

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

How do I customize flex-builder configuration for a custom board

2,891 Views
tmorrison
Contributor III

I have a custom board and I cannot figure out how add a custom board to flex-builder configuration? 

Or 

Is it possible to customize the build for a development board and use that as my custom board build?

(I know I can customize linux - which is an entire other question

Labels (1)
0 Kudos
Reply
5 Replies

2,675 Views
Pavel
NXP Employee
NXP Employee

Find the following in the flexbuild_usage.txt file:

How to use different build config instead of default build config
--------------------------------------------------------------------------------------------------------------------------------------
  Uer can create a custom config file named build_custom.cfg in configs directory, flexbuild will preferentially select build_custom.cfg,
  otherwise, default config file build_lsdk.cfg will be used, if there are multiple build_xx.cfg config files in configs directory, user
  can specify the expected one by specifying -f option, e.g. flex-builder -m ls1043ardb -b sd -f build_xx.cfg

Have a great day,
Pavel Chubakov

0 Kudos
Reply

2,675 Views
Pavel
NXP Employee
NXP Employee

Usually the similar command is ised for u-boot building using LSDK:

flex-builder -c uboot -m ls1028ardb -b qspi

flex-builder -c uboot -m ls1043ardb -b sd

See attached file.

This file is available in LSDK folder.

Have a great day,
Pavel Chubakov

0 Kudos
Reply

2,675 Views
tmorrison
Contributor III

Hi Pavel,

Thank you, I believe I have (and read) this text file in the 'docs' directory of

the flex-builder package.

Unfortunately, it falls short in telling me how to create a custom board config

that I can use as the basis of building the appropriate .configs for things like

u-boot (which don't have a "-c uboot:custom" option)

In addition, want to build something like this:

      flex-builder -m ls1043a_rgw_custom -b sd

thanks in advance for more clarity...

tom

0 Kudos
Reply

2,675 Views
Pavel
NXP Employee
NXP Employee

Find the "How to build Linux kernel with flex-builder" in LSDK 1909 User Guide:

https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-47B8F1F5-3A8F-45F4-A...

 

See also the following document:

https://www.nxp.com/docs/en/user-guide/LS1028ABSPUG.pdf

 

Find the "Build Linux kernel with Flexbuild"

 

Have a great day,
Pavel Chubakov

 

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

0 Kudos
Reply

2,675 Views
tmorrison
Contributor III

Thank you Pavel,

I am most interested in U-Boot customization - I have a custom board and

need to modify - including its DTB

I will modify the code - but it is not sustainable unless I can create a

custom board profile for flex-builder to

build u-boot.

Tom

0 Kudos
Reply