[PATCH] arm: dts: rockchip: rk3399: nanopi-r4s: Provide smbios sysinfo

Christian Kohlschütter christian at kohlschutter.com
Sat Oct 1 00:18:21 CEST 2022


On 30. Sep 2022, at 01:55, Simon Glass <sjg at chromium.org> wrote:
...
>> Is there a tool to sort these values in a certain order?
> 
> $ echo nanopi-r4s-rk3399_defconfig >asc
> $ ./tools/moveconfig.py -s -d asc
> 
> (it could use a new flag to just specific the board, if you want to
> send a patch)
> 
> Should these not be in alphabetical order?
> 
> No it is in order of the Kconfig tree (use 'make menuconfig' or 'make
> xconfig' to see it).
> 
> Regards,
> Simon

I tried the above commands to no avail. moveconfig hangs.

I assume you meant "cat" instead of "echo"? But even then it doesn't sort the values.
Fixing that I just got a bunch of "no defconfig matched" warnings.

What is the motivation of sorting these values in Kconfig order? Is it just for the sake of keeping comments in the right place?
Would sorting in alphabetical order cause other issues?

Should there perhaps be a make target to take care of automatically cleaning up defconfig files?



More information about the U-Boot mailing list