flex-builder update

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

flex-builder update

831件の閲覧回数
marcell
Contributor I

I have been building images for LS1012 OS: ubuntu 18.04 with kernel 5.4.47 using flex-builder lsdk2012 version 2.5.2012. Lately I am not able to repeat my build, I get:

fatal: unable to access 'https://source.codeaurora.org/external/qoriq/qoriq-components/linux.git/': Could not resolve host: source.codeaurora.org

Now I have upgraded to flex-builder lsdk 2108 version 2.6.2108 and try to build the 'old' system. For starters I use:

flex-builder -c linux:linux:LSDK-20.12-V5.4:custom -a arm64 -m ls1012afrwy

This seems to work. But now my question

NR 1:

how do I get the RFS for this version of ubuntu? Currently I use this command:

flex-builder -i mkrfs -m ls1012afrwy -r ubuntu:main

Been trying to find an answer in LSDKUG e.g. 

4.3.7 How to build linux itb based on custom kernel and various distros

but couldn't find an answer. 

and NR 2:

How do I include the linux-headers for 5.4.47? They were present in the RFS when built with the older version of flex-builder. apt doesn't help either because I cant find exactly 5.4.47 (which I need).

/usr/src/linux-headers-5.4.47

It's the nature of our project that requires this specific version of the OS.

 

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

763件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In LSDK 20.12, please edit file configs/build_lsdk.cfg to replace “source.codeaurora.org/external/qoriq/qoriq-components” with “github.com/nxp-qoriq”, then you could use LSDK 20.12 to perform building.

1. Use the following command is correct.

flex-builder -i mkrfs -m ls1012afrwy -r ubuntu:main

2. In LSDK 21.08 build environment, please execute the following command,  you will get linux-headers-*.deb in folder build/linux/kernel/arm64/LS/output.

$ flex-builder -c linux-deb -p LS

Please copy linux-headers-*.deb to the target board and execute the following command.

# dpkg -i linux-headers-*.deb

0 件の賞賛
返信

740件の閲覧回数
marcell
Contributor I

Thank you very much for your answer. After applying your suggested replacements I still had some errors involving codeaurora links, so now I have a new question:

In LSDK 20.12, please edit file configs/build_lsdk.cfg to replace “source.codeaurora.org/external/qoriq/qoriq-components” with “github.com/nxp-qoriq”, then you could use LSDK 20.12 to perform building.

Do I also have to replace https://source.codeaurora.org/external/imx with https://github.com/nxp-imx ?

Btw:

The list of commands I issue for building my system:

flex-builder -c linux -a arm64 -m ls1012afrwy
flex-builder -i mkrfs -m ls1012afrwy -r ubuntu:main -B packages_ls1012afrwy
flex-builder -c apps -m ls1012afrwy
flex-builder -i merge-component -a arm64
flex-builder -i mkbootpartition -a arm64
flex-builder -i mkfw -m ls1012afrwy -b qspi

 

0 件の賞賛
返信

676件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信