Date: Wed, 14 Nov 2018 07:00:56 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: Michael Zhilin <mizhka@gmail.com>, "wjw@digiware.nl" <wjw@digiware.nl> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Building a new version for my WiTi board Message-ID: <822734.74321.qm@web103915.mail.ssk.yahoo.co.jp> In-Reply-To: <CAF19XBLfiHy6EAzB32GePwMru2vMJcgvVMMJ6R=8cxJxAQ5QMg@mail.gmail.com> References: <b8b2e91a-afd3-60c5-6ad4-3fbac9011718@digiware.nl> <CAF19XBK_JZ8OPLZuqTH%2BUGAhvB2r90FyeN48qq9z7JaYT0TbYw@mail.gmail.com> <09b2150d-ef55-c032-59c4-4b218a03f186@digiware.nl> <e12386f8-5e52-3adb-e8ee-ea276b3ecfde@digiware.nl> <CAF19XBLfiHy6EAzB32GePwMru2vMJcgvVMMJ6R=8cxJxAQ5QMg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Hi This is my MT7620A target todays build dmesg. https://dmesgd.nycbug.org/index.cgi?do=view&id=4580 I use ZRouter build system. Thanks Hiroki Mori ----- Original Message ----- > From: Michael Zhilin <mizhka@gmail.com> > To: wjw@digiware.nl > Cc: freebsd-mips@freebsd.org > Date: 2018/11/14, Wed 03:37 > Subject: Re: Building a new version for my WiTi board > > Of course, there is UART in kernel :) > If you have old kernel, can you try it and provide output? > > Thx! > > On Tue, Nov 13, 2018 at 7:38 PM Willem Jan Withagen <wjw@digiware.nl> > wrote: > >> On 13-11-2018 14:13, Willem Jan Withagen wrote: >> > On 13-11-2018 13:59, Michael Zhilin wrote: >> >> 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 >> >> >> > >> > Hi Michael, >> > >> > That helps.... >> >> What I've done.... >> >> sudo make KERNCONF=MT7621_FDT FDT_DTS_FILE=WITI.dts TARGET=mips >> TARGET_ARCH=mipsel kernel-toolchain buildkernel >> >> cd /usr/obj/mips.mipsel/usr/srcs/Mips/src/sys/MT7621_FDT >> readelf -h kernel | grep 'Entry point address:' >> Entry point address: 0x80001100 >> ../../tmp/usr/bin/objcopy -O binary kernel kernel.bin >> >> mkimage -A mips -O linux -T kernel -C none -a 0x80001100 -e 0x80001100 >> -n 'FreeBSD Kernel Image' -d kernel kernel.uboot >> >> And then I TFTPboot this kernel in uboot on the WiTi board >> >> But it freezes like this: >> MT7621 # bootm >> ## Booting image at 80100000 ... >> Image Name: FreeBSD Kernel Image >> Image Type: MIPS Linux Kernel Image (uncompressed) >> Data Size: 5998108 Bytes = 5.7 MB >> Load Address: 80001100 >> Entry Point: 80001100 >> Verifying Checksum ... OK >> OK >> No initrd >> ## Transferring control to Linux (at address 80001100) ... >> ## Giving linux memsize in MB, 256 >> >> Starting kernel ... >> >> ---------------------- >> >> And then it freezes. >> >> Is this because there is no serial device in the kernel any longer? >> >> Or do I need to do different things. >> >> --WjW >> > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to > "freebsd-mips-unsubscribe@freebsd.org" >home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?822734.74321.qm>
