[Letux-kernel] X1600 / LX16 support - here: fw_getenv() issue

H. Nikolaus Schaller hns at goldelico.com
Wed Feb 7 08:36:58 CET 2024



> Am 07.02.2024 um 07:51 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi Paul,
> 
> On Tue, 06 Feb 2024 21:21:51 +0100
> Paul Boddie <paul at boddie.org.uk> wrote:
> 
>> On Tuesday, 6 February 2024 19:47:27 CET H. Nikolaus Schaller wrote:
>>> 
>>> BTW: are you using some cross-compiler from Debian or are you compiling
>>> natively on a MIPS machine? I ask because Andreas has reported some strange
>>> compile problems with a Bookworm cross compiler.  
>> 
>> I'm using the Debian cross-compiler (mipsel-linux-gnu-gcc) on Debian 11.8 
>> (Bullseye).
>> 
> tried with Debian mipsel-gcc-12 on bookworm and also clang (make ARCH=mips LLVM=-16)  
> 
> $ make CROSS_COMPILE=mipsel-linux-gnu- ARCH=mips letux_lx16_defconfig all -j 8
> #
> # No change to .config
> #
>  CALL    scripts/checksyscalls.sh
> make[3]: *** No rule to make target 'ingenic//vmlinux.its.S', needed by 'arch/mips/boot/vmlinux.its.S'.  Stop.

I have these files:

iMac:master hns$ ls -l ./arch/mips/generic/vmlinux.its.S arch/mips/boot/vmlinux.its.S
ls: arch/mips/boot/vmlinux.its.S: No such file or directory
-rw-r--r--  1 hns  staff  583 26 Jan 19:27 ./arch/mips/generic/vmlinux.its.S
iMac:master hns$ 

But my setup doesn't attempt to build vmlinux.gz.itb 

> make[2]: *** [arch/mips/Makefile:411: vmlinux.gz.itb] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [/home/andi/kernel/linux/Makefile:356: __build_one_by_one] Error 2
> make: *** [Makefile:240: __sub-make] Error 2
> 
> so this is not a compiler problem but some strange dependency on some make version?!

That could also be the problem since I can compile with my self-baked mipsel-gcc-12.
But I have to check which make version I am using here.

iMac:Linux hns$ /usr/local/QuantumSTEP/System/Library/Frameworks/System.framework/Versions/x86_64-apple-darwin23/12-Bookworm/mipsel/usr/bin/mipsel-linux-gnu-gcc --version
mipsel-linux-gnu-gcc (GCC) 12.2.0

iMac:Linux hns$ /usr/local/QuantumSTEP/System/Library/Frameworks/System.framework/Versions/x86_64-apple-darwin23/12-Bookworm/mipsel/usr/x86_64-apple-darwin23.2.0/usr/bin/make --version
GNU Make 4.3
Gebaut für x86_64-apple-darwin23.2.0
Copyright (C) 1988-2020 Free Software Foundation, Inc.
iMac:Linux hns$ 

....

make V=2 CONFIG_DEBUG_SECTION_MISMATCH=y letux_lx16_defconfig savedefconfig uImage dtbs LOADADDR=0x80008000 INSTALL_MOD_PATH=/tmp/kernel-modules-41663 modules modules_install INSTALL_HDR_PATH=/tmp/kernel-headers-41663 headers_install

Hope this helps.

BR,
Nikolaus



More information about the Letux-kernel mailing list