Building a new version for my WiTi board

Michael Zhilin mizhka at gmail.com
Tue Nov 13 13:00:05 UTC 2018


Hi,

You need to specify FDT DTS file. Try to uncomment first line of kernel
configuration file MT7621_FDT:
#makeoptions    FDT_DTS_FILE=WITI.dts

Thanks!

On Tue, Nov 13, 2018 at 3:37 PM Willem Jan Withagen <wjw at digiware.nl> wrote:

> Hi,
>
> I was going to build a new release for my witi board.
>
> The old version was build before the elaborate dts stuff came into Make.
>
> Build it looks like the WiTi config is in the MT7621 config.
>
> So:
> make KERNCONF=MT7621_FDT TARGET=mips TARGET_ARCH=mipsel kernel-toolchain
> buildkernel
>
> But that fails.
>
> What am I doing wrong?
> /usr/obj/usr/srcs/head/mips.mipsel/sys/MT7621_FDT is a directory with
> lots of header files, and a few object files.
>
> Thanx,
> --WjW
>
> NM='nm' NMFLAGS='' sh /usr/srcs/head/sys/kern/genassym.sh genassym.o >
> assym.inc
> awk -f /usr/srcs/head/sys/tools/vnode_if.awk
> /usr/srcs/head/sys/kern/vnode_if.src -p
> awk -f /usr/srcs/head/sys/tools/vnode_if.awk
> /usr/srcs/head/sys/kern/vnode_if.src -q
> awk -f /usr/srcs/head/sys/tools/vnode_if.awk
> /usr/srcs/head/sys/kern/vnode_if.src -h
> sh -c 'MACHINE=mips /usr/srcs/head/sys/tools/fdt/make_dtb.sh
> /usr/srcs/head/sys  /usr/obj/usr/srcs/head/mips.mipsel/sys/MT7621_FDT'
> converting /usr/obj/usr/srcs/head/mips.mipsel/sys/MT7621_FDT ->
> /MT7621_FDT.dtb
> cc1: error: /usr/obj/usr/srcs/head/mips.mipsel/sys/MT7621_FDT: No such
> file or directory
> Error: <stdin>:0.0 syntax error
> FATAL ERROR: Unable to parse input tree
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/obj/usr/srcs/head/mips.mipsel/sys/MT7621_FDT
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/srcs/head
> *** Error code 1
>
> Stop.
> make: stopped in /usr/srcs/head
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
>


More information about the freebsd-mips mailing list