[LS1046A] The added kernel config disappeared

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

[LS1046A] The added kernel config disappeared

Jump to solution
3,295 Views
charleshuang
Senior Contributor II

Hi NXP Team,

Our platform is LS1046A and use LSDK20.12.

We enable several options in "arch/arm64/config/defconfig" as below :

...

CONFIG_WLAN_VENDOR_REALTEK=y
CONFIG_RTL_CARDS=y
CONFIG_RTW88=y
CONFIG_RTW88_CORE=y
CONFIG_RTW88_PCI=y
CONFIG_RTW88_8822BE=y

...

 

And then, after execute command "flex-builder -c linux -a arm64", we check the ".config" file in directory "build/linux/linux/arm64/LS/output", but we can't find those options that we set. Those configurations only appear in the ".config.old".

 

Something wrong with this place?

 

Thanks~

 

 

Labels (2)
0 Kudos
Reply
1 Solution
3,289 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following to reconfigure Linux Kernel.

1. $ flex-builder -c linux -a arm64

2. Please go to folder flexbuild_lsdk2012/build/linux/linux/arm64/LS/output/LSDK-20.12-V5.4, run the following command to enable your options.

$ make ARCH=arm64 menuconfig

3. Please run the following command to rebuild Linux Kernel.

flex-builder -c linux -a arm64

View solution in original post

0 Kudos
Reply
2 Replies
3,290 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following to reconfigure Linux Kernel.

1. $ flex-builder -c linux -a arm64

2. Please go to folder flexbuild_lsdk2012/build/linux/linux/arm64/LS/output/LSDK-20.12-V5.4, run the following command to enable your options.

$ make ARCH=arm64 menuconfig

3. Please run the following command to rebuild Linux Kernel.

flex-builder -c linux -a arm64

0 Kudos
Reply
3,026 Views
svleest
Contributor I

I am trying these instructions to build linux for the LS1088ARDB. I have tried running on two different ubuntu distributions, but got (different) errors both times. 

 

===== With Ubuntu 22.04.1 LTS ===

$ flex-builder -c linux -a arm64

COMPONENT: linux

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Hit:1 https://mirrors.edge.kernel.org/ubuntu jammy InRelease

Get:2 https://mirrors.edge.kernel.org/ubuntu jammy-updates InRelease [114 kB]

Get:3 https://mirrors.edge.kernel.org/ubuntu jammy-backports InRelease [99.8 kB]

Get:4 https://mirrors.edge.kernel.org/ubuntu jammy-security InRelease [110 kB]

Get:5 https://mirrors.edge.kernel.org/ubuntu jammy-updates/main amd64 Packages [570 kB]

Get:6 https://mirrors.edge.kernel.org/ubuntu jammy-updates/main Translation-en [136 kB]

Get:7 https://mirrors.edge.kernel.org/ubuntu jammy-updates/main amd64 c-n-f Metadata [8,432 B]

Get:8 https://mirrors.edge.kernel.org/ubuntu jammy-updates/restricted amd64 Packages [310 kB]

Get:9 https://mirrors.edge.kernel.org/ubuntu jammy-updates/restricted Translation-en [48.0 kB]

Get:10 https://mirrors.edge.kernel.org/ubuntu jammy-updates/universe amd64 Packages [420 kB]

Get:11 https://mirrors.edge.kernel.org/ubuntu jammy-updates/universe Translation-en [104 kB]

Get:12 https://mirrors.edge.kernel.org/ubuntu jammy-updates/multiverse amd64 Packages [7,260 B]

Get:13 https://mirrors.edge.kernel.org/ubuntu jammy-updates/multiverse Translation-en [2,360 B]

Get:14 https://mirrors.edge.kernel.org/ubuntu jammy-backports/universe amd64 Packages [6,752 B]

Get:15 https://mirrors.edge.kernel.org/ubuntu jammy-backports/universe amd64 c-n-f Metadata [352 B]

Get:16 https://mirrors.edge.kernel.org/ubuntu jammy-security/main amd64 Packages [319 kB]

Get:17 https://mirrors.edge.kernel.org/ubuntu jammy-security/main Translation-en [75.1 kB]

Get:18 https://mirrors.edge.kernel.org/ubuntu jammy-security/restricted amd64 Packages [277 kB]

Get:19 https://mirrors.edge.kernel.org/ubuntu jammy-security/restricted Translation-en [42.8 kB]

Get:20 https://mirrors.edge.kernel.org/ubuntu jammy-security/universe amd64 Packages [284 kB]

Get:21 https://mirrors.edge.kernel.org/ubuntu jammy-security/universe Translation-en [61.4 kB]

Fetched 2,996 kB in 2s (1,908 kB/s)                               

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

58 packages can be upgraded. Run 'apt list --upgradable' to see them.

installing python3-crypto ...

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Package python3-crypto is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

 

E: Package 'python3-crypto' has no installation candidate

$ uname -a

Linux ubuntu2204.localdomain 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release 

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=22.04

DISTRIB_CODENAME=jammy

DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

$ flex-builder -v

 2.6.2108

 

=== With Ubuntu 20.04.5 LTS ===

 

$ flex-builder -c linux -a arm64

COMPONENT: linux

error: Your local changes to the following files would be overwritten by checkout:

                    net/netfilter/xt_DSCP.c

                    net/netfilter/xt_HL.c

                    net/netfilter/xt_RATEEST.c

                    net/netfilter/xt_TCPMSS.c

Please commit your changes or stash them before you switch branches.

error: The following untracked working tree files would be overwritten by checkout:

                    Documentation/arm/samsung/clksrc-change-registers.awk

                    Documentation/security/lsm.rst

                    drivers/staging/rtl8188eu/hal/odm_hwconfig.c

                    drivers/staging/rtl8188eu/include/odm_hwconfig.h

Please move or remove them before you switch branches.

Aborting

 

 

$ uname -a

Linux ubuntu-focal 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release 

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=20.04

DISTRIB_CODENAME=focal

DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"

$ flex-builder -v

 2.6.2108

 

0 Kudos
Reply