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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi=0A=0AThis is my MT7620A target todays build dmesg.=0A=0A=0Ahttps://dmesg= d.nycbug.org/index.cgi?do=3Dview&id=3D4580=0A=0AI use ZRouter build system.= =0A=0AThanks=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From= : Michael Zhilin <mizhka@gmail.com>=0A> To: wjw@digiware.nl=0A> Cc: freebsd= -mips@freebsd.org=0A> Date: 2018/11/14, Wed 03:37=0A> Subject: Re: Building= a new version for my WiTi board=0A> =0A> Of course, there is UART in kerne= l :)=0A> If you have old kernel, can you try it and provide output?=0A> =0A= > Thx!=0A> =0A> On Tue, Nov 13, 2018 at 7:38 PM Willem Jan Withagen <wjw@di= giware.nl> =0A> wrote:=0A> =0A>> On 13-11-2018 14:13, Willem Jan Withagen = wrote:=0A>> > On 13-11-2018 13:59, Michael Zhilin wrote:=0A>> >> Hi,=0A>>= >>=0A>> >> You need to specify FDT DTS file. Try to uncomment first line= of=0A>> >> kernel configuration file MT7621_FDT:=0A>> >> #makeoptions=A0= =A0 FDT_DTS_FILE=3DWITI.dts=0A>> >>=0A>> >=0A>> > Hi Michael,=0A>> >= =0A>> > That helps....=0A>> =0A>> What I've done....=0A>> =0A>> sudo mak= e KERNCONF=3DMT7621_FDT FDT_DTS_FILE=3DWITI.dts TARGET=3Dmips=0A>> TARGET_= ARCH=3Dmipsel kernel-toolchain buildkernel=0A>> =0A>> cd /usr/obj/mips.mip= sel/usr/srcs/Mips/src/sys/MT7621_FDT=0A>> readelf -h kernel | grep 'Entry = point address:'=0A>> =A0 =A0 Entry point address:=A0 =A0 =A0 =A0 =A0 =A0 = =A0 0x80001100=0A>> ../../tmp/usr/bin/objcopy -O binary kernel kernel.bin= =0A>> =0A>> mkimage -A mips -O linux -T kernel -C none -a 0x80001100 -e 0x= 80001100=0A>> -n 'FreeBSD Kernel Image' -d kernel kernel.uboot=0A>> =0A>> = And then I TFTPboot this kernel in uboot on the WiTi board=0A>> =0A>> But= it freezes like this:=0A>> MT7621 # bootm=0A>> ## Booting image at 80100= 000 ...=0A>> =A0 =A0 Image Name:=A0 FreeBSD Kernel Image=0A>> =A0 =A0 Im= age Type:=A0 MIPS Linux Kernel Image (uncompressed)=0A>> =A0 =A0 Data Siz= e:=A0 =A0 5998108 Bytes =3D=A0 5.7 MB=0A>> =A0 =A0 Load Address: 80001100= =0A>> =A0 =A0 Entry Point:=A0 80001100=0A>> =A0 =A0 Verifying Checksum ..= . OK=0A>> OK=0A>> No initrd=0A>> ## Transferring control to Linux (at ad= dress 80001100) ...=0A>> ## Giving linux memsize in MB, 256=0A>> =0A>> St= arting kernel ...=0A>> =0A>> ----------------------=0A>> =0A>> And then i= t freezes.=0A>> =0A>> Is this because there is no serial device in the ker= nel any longer?=0A>> =0A>> Or do I need to do different things.=0A>> =0A>>= --WjW=0A>> =0A> _______________________________________________=0A> freeb= sd-mips@freebsd.org mailing list=0A> https://lists.freebsd.org/mailman/list= info/freebsd-mips=0A> To unsubscribe, send any mail to =0A> "freebsd-mips-u= nsubscribe@freebsd.org"=0A>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?822734.74321.qm>