From owner-freebsd-mips@freebsd.org Tue May 9 14:07:18 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38759D6581E for ; Tue, 9 May 2017 14:07:18 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm13.bullet.mail.kks.yahoo.co.jp (nh503-vm13.bullet.mail.kks.yahoo.co.jp [183.79.56.199]) by mx1.freebsd.org (Postfix) with SMTP id 76559A8C for ; Tue, 9 May 2017 14:07:17 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 14:07:14 -0000 Received: from [183.79.101.63] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 14:07:14 -0000 Received: from [127.0.0.1] by omp507.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 14:07:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 917712.78686.bm@omp507.mail.kks.yahoo.co.jp Received: (qmail 45409 invoked by uid 60001); 9 May 2017 14:07:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1494338834; bh=Zq0GyWYPucLn2SnrJv7H5CiVIhBPDMFv1DYiL3bn6O0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eOKOYcDxtUSHRrT28inxG169vXNfjFlk4+q8aWWDL3SHEz7gFaa3Ocuv7DjZpUnpygOcGUK0BV5727jqENLLd7ImFvtV5NyNwvYdFJTuqjH4jWjUMjTbUMnwsozZNYEtt4LIHy/9hsLhewoL0w8ZN4k9Y6xbTtL2qrBpRB/lq9I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Uc9yBBUt8BqWCHXePmNK+c6URyU3m0D9laHYpury0D7EqSBkUrncKQfRe+TNhA0/5tTLoiqsoxNdfeG6l12cYf69yH04KmfP3rXoDhSZxvquyr+sX7lxcTzgDLE/47I13IlTlvhJihDZ1REQmG3cHz//qycDJMGbs3BB77JLZhw=; Message-ID: <541011.41820.qm@web101719.mail.ssk.yahoo.co.jp> X-YMail-OSG: W9F72S4VM1k.aGTumPFh1DoZQ9YnuC8XlgXGYQg_Efvj5qzg4fLY.ii6qZhuH2Nu5pVw9pCObv1ojJioLvnIhrWIF_YaeKdmos.BOCv9Ms0QzBhbdctyeq5kzyMXn415lP02CnhLegmrWwQDQnvs3PFUqKa.EojTw.C6vq5jvZ1SCkKYI6F3UCRvUlyDKsHpuJ5xU7sEckjWyPEvQ.u8_9q2bhjOxXf.AjBWPTy96L0G_6hN7WuLJIroFHR3oVZ3s9z6NXSIPJW_5ytWaiMZ2EGPvUp5sPq7cMsOVyloD43YOIIV8OVziIC3iU7V5mUx2ayduhKUWCXHZ.RO3K38CadkFj4S.McIGKqPFHR1kWlbMiWPiBNT6CMhKq.Tlg6HkwAultTROeZrQLLSbAeuu_juibq5bWNr8VNee25fNW6asA5r9dLojQcavbinfZQPK.spyHLsbhAzfEnWfdDGVcrDjK8EUapyXE_l31JbaD_aP0xfG2yIRc7x6QnqN5QYELv8KAwC2ewgTFjdQvXaG6MVo0NTUVUCls24BSrBLokQBVyt6S3bzpevuqA7ihcqaAjINr6i2YQwdnM.LnVTCaYKY7iSnvp85_OE.0Lr67VIFO4gEzPH_gSCasCLvE5ZJ8se6qc3FJJcNuxv0u8kl3.ZuxuifLKzRiQ2oIJ_wBlQ.BlUQyo- Received: from [210.20.198.8] by web101719.mail.ssk.yahoo.co.jp via HTTP; Tue, 09 May 2017 23:07:13 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: KhjsVbkVM1lEpTVYuZLFPoh00h3A0lCfKS6mYuHN_xpkDXFSGhGu1xTI30JAxvdWIb1wSHLmeScYXYZvB6ncq1yU2RNqlL16AeJUvMc55Rfm99jstWYA8i7.yUCayUyhm2r8 References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <410144.69078.qm@web101716.mail.ssk.yahoo.co.jp> <128807.28836.qm@web101715.mail.ssk.yahoo.co.jp> <2d555385-8258-fd75-e4a3-a1e59bf86314@wolman.co.uk> <651873.78746.qm@web101702.mail.ssk.yahoo.co.jp> <2c5cd01a-a8d4-3ffa-4e9c-2aad170574c1@wolman.co.uk> <39222.11970.qm@web101719.mail.ssk.yahoo.co.jp> <6f1b2d35-5d17-765a-6138-0ab85455fc09@wolman.co.uk> <5866.49154.qm@web101718.mail.ssk.yahoo.co.jp> <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk> Date: Tue, 9 May 2017 23:07:13 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: onion omega2+ To: Mike Wolman , Aleksandr Rybalko Cc: "freebsd-mips@freebsd.org" In-Reply-To: <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 14:07:18 -0000 Hi. Mike=0A=0A> Starting kernel ...=0A=0A=0AI think success to boot.=0A=0AN= ext is Entry point miss or uart console issue.=0A=0A=0AEntry point can chec= k on ELF kernel file by=A0readelf command.=0A=0AUart console issue is in dt= s file.=0A=0A----- Original Message -----=0A=0A> From: Mike Wolman =0A> To: Mori Hiroki ; Aleksandr Rybalko = =0A> Cc: "freebsd-mips@freebsd.org" =0A> Date: 2017/5/9, Tue 22:42=0A> Subject: Re: onion omega2+=0A> =0A> = =0A> Ok got somewhere with this=0A> =0A> =0A> USB_STORAGE: 1 Storage Device= (s) found=0A> Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.uImage= =0A> *=0A> *=0A> Reading file "kernel.MT7628_FDT.uImage"=0A> *=0A> **=0A> *= *=0A> **=0A> **=0A> **=0A> **=0A> **=0A> **=0A> **=0A> **=0A> ******=0A> **= ****=0A> ******************************************************************= ***************************************************************************= *********************************************************************=0A> *= ***=0A> *=0A> FAT: 5654824 Bytes read=0A> Omega2 # go=0A> Usage:=0A> go=A0 = =A0 =A0 - start application at address 'addr'=0A> =0A> Omega2 # go 0x800010= 00=0A> ## Starting application at 0x80001000 ...=0A> =0A> =0A> =0A> I have = tried with:=0A> =0A> Omega2 # go 0x80001100=0A> ## Starting application at = 0x80001100 ...=0A> =0A> =0A> =0A> I have tried using the 0x80001000 for fat= load as well:=0A> =0A> =0A> USB_STORAGE: 1 Storage Device(s) found=0A> Omeg= a2 # help fatload=0A> fatload =A0 = =0A> [bytes]=0A> =A0 =A0 - load binary file 'filename' from 'dev' on =0A>= 'interface'=0A> =A0 =A0 =A0 to address 'addr' from dos filesystem=0A> =0A= > Reading file "kernel.MT7628_FDT.uImage"=0A> *=0A> **=0A> **=0A> **=0A> **= =0A> **=0A> **=0A> **=0A> **=0A> **=0A> **=0A> ******=0A> ******=0A> ******= ***************************************************************************= ***************************************************************************= ******************************************************=0A> ****=0A> *=0A> F= AT: 5654824 Bytes read=0A> Omega2 # go 0x80001100=0A> ## Starting applicati= on at 0x80001100 ...=0A> =0A> =0A> =0A> However:=0A> =0A> Omega2 # fatload = usb 0:1 0x80800000 kernel.MT7628_FDT.uImage=0A> *=0A> *=0A> Reading file "k= ernel.MT7628_FDT.uImage"=0A> *=0A> **=0A> **=0A> **=0A> **=0A> **=0A> **=0A= > **=0A> **=0A> **=0A> **=0A> ******=0A> ******=0A> ***********************= ***************************************************************************= ***************************************************************************= *************************************=0A> ****=0A> *=0A> FAT: 5654824 Bytes= read=0A> Omega2 # bootm 0x80800000=0A> ## Booting image at 80800000 ...=0A= > =A0 =A0 Image Name:=A0 FreeBSD=0A> =A0 =A0 Image Type:=A0 MIPS Linux Ke= rnel Image (uncompressed)=0A> =A0 =A0 Data Size:=A0 =A0 5654760 Bytes =3D= =A0 5.4 MB=0A> =A0 =A0 Load Address: 80001000=0A> =A0 =A0 Entry Point:=A0 8= 0001100=0A> =A0 =A0 Verifying Checksum ... OK=0A> OK=0A> No initrd=0A> ## T= ransferring control to Linux (at address 80001100) ...=0A> ## Giving linux = memsize in MB, 128=0A> =0A> Starting kernel ...=0A> =0A> =0A> But it doesnt= go any further=0A> =0A> =0A> =0A> =0A> =0A> =0A> On 09/05/2017 14:20, Mori= Hiroki wrote:=0A>> Hi.=0A>> =0A>> One more.=0A>> =0A>> Omega2 # fatload= usb 0:1 0x80800000 kernel.MT7628_FDT.uImage=0A>> =0A>> Omega2 # bootm 0x8= 0800000=0A>> =0A>> ----- Original Message -----=0A>>> From: Mike Wolman <= mike@wolman.co.uk>=0A>>> To: Mori Hiroki ; Aleksand= r Rybalko =0A> =0A>>> Cc: "freebsd-mips@freebsd.org" =0A> = =0A>>> Date: 2017/5/9, Tue 22:01=0A>>> Subject:= Re: onion omega2+=0A>>> =0A>>> =0A>>> No joy=0A>>> =0A>>> Omega2 # fatlo= ad usb 0:1 0x80800000 kernel.MT7628_FDT.uImage=0A>>> *=0A>>> *=0A>>> Rea= ding file "kernel.MT7628_FDT.uImage"=0A>>> *=0A>>> **=0A>>> **=0A>>> **= =0A>>> **=0A>>> **=0A>>> **=0A>>> **=0A>>> **=0A>>> **=0A>>> **=0A>>= > ******=0A>>> ******=0A>>> =0A> ****************************************= ***************************************************************************= ***************************************************************************= ********************=0A>>> ****=0A>>> *=0A>>> FAT: 5654824 Bytes read=0A= >>> Omega2 # bootm=0A>>> ## Booting image at 80100000 ...=0A>>> Bad Magi= c Number,CE6AE7C4=0A>>> =0A>>> I am going to get a different usb memory st= ick and rebuild the kernel=0A>>> later on as i got an error when last writ= ing to the usb memory key and=0A>>> its quite old now so just want to elim= inate it from testing.=0A>>> =0A>>> =0A>>> On 09/05/2017 13:52, Mori Hirok= i wrote:=0A>>>> =A0 Hi.=0A>>>> =0A>>>> =A0 This is my sample operation ge= t image from network and boot.=0A>>>> =0A>>>> =A0 RT3052 # tftpboot 0x8080= 0000 =0A> Planex_MZK-WNH_kernel.kbin.oldlzma.uboot=0A>>>> =A0 RT3052 # boo= tm=0A>>>> =0A>>>> =0A>>>> =A0 I don't use USB support U-Boot. But I think = fatload command =0A> argument is=0A>>>> =A0 temporary memory address not k= ernel address.=0A>>>> =0A>>>> =A0 How about this.=0A>>>> =0A>>>> =A0 Omeg= a2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.uImage=0A>>>> =A0 Omega2= # bootm=0A>>>> =0A>>>> =A0 ----- Original Message -----=0A>>>>> =A0 From= : Mike Wolman =0A>>>>> =A0 To: Aleksandr Rybalko ; Mori Hiroki=0A>>> =0A>>>>> =A0 Cc: "fr= eebsd-mips@freebsd.org"=0A>>> =0A>>>>> =A0 Date= : 2017/5/9, Tue 20:48=0A>>>>> =A0 Subject: Re: onion omega2+=0A>>>>> =0A>>= >>> =0A>>>>> =0A>>>>> =0A>>>>> =A0 Is it possible to exclude the compressi= on of the kernel/image =0A> for=0A>>>> =A0 =A0 =A0 =A0 now eg:=0A>>>>> =A0 = mkimage -A mips -C none -O linux -T kernel -a 0x80001000 -e=0A>>>> =A0 =A0= =A0 =A0 0x80001100 -n "FreeBSD" -d kernel.MT7628_FDT=0A>>>> =A0 =A0 =A0 = =A0 kernel.MT7628_FDT.uImage=0A>>>>> =A0 I have just tried the above but w= hen booting I get a Bad =0A> Magic=0A>>>> =A0 =A0 =A0 =A0 Number.=0A>>>>> = =A0 Omega2 # fatload usb 0:1 0x80001000 kernel.MT7628_FDT.uImage=0A>>>>> = =A0 *=0A>>>>> =A0 *=0A>>>>> =A0 Reading file "kernel.MT7628_FDT.uImage"= =0A>>>>> =A0 *=0A>>>>> =A0 **=0A>>>>> =A0 **=0A>>>>> =A0 **=0A>>>>> =A0= **=0A>>>>> =A0 **=0A>>>>> =A0 **=0A>>>>> =A0 **=0A>>>>> =A0 **=0A>>>>= > =A0 **=0A>>>>> =A0 **=0A>>>>> =A0 ******=0A>>>>> =A0 ******=0A>>>>> = =0A>>> =0A> ***************************************************************= ***************************************************************************= ************************************************************************=0A= >>>>> =A0 ****=0A>>>>> =A0 *=0A>>>>> =A0 FAT: 5654824 Bytes read=0A>>>>>= =A0 Omega2 # bootm 0x80001100=0A>>>>> =A0 ## Booting image at 80001100 .= ..=0A>>>>> =A0 Bad Magic Number,1C994480=0A>>>>> =A0 Omega2 #=0A>>>>> =0A= >>>>> =0A>>>>> =A0 I have seen other examples starting a program directly = with =0A> going to=0A>>>> =A0 =A0 =A0 =A0 the address but this didnt work e= ither:=0A>>>>> =A0 Omega2 # go 0x80001100=0A>>>>> =A0 ## Starting applica= tion at 0x80001100 ...=0A>>>>> =0A>>>>> =A0 omega freezes here.=0A>>>>> = =0A>>>>> =0A>>>>> =0A>>>>> =0A>>>>> =A0 On 09/05/2017 10:12, Aleksandr Ryb= alko wrote:=0A>>>>> =0A>>>>> =A0 Fix things in order :)=0A>>>> =A0 Curren= tly you have problem with LZMA, serial port later.=0A>>>> =A0 So, find ver= sion of lzma used to build linux firmware, MIPS =0A> routers world=0A>>> u= se about 5 incompatible versions. One of them, you can find here:=0A>>> ht= tp://project.zrouter.org/hg/zrouter/file/9ac53695a44d/tools/oldlzma=0A>>>>>= > =0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 2017-05-09 7:03 GMT+03:00 Mori Hiroki= =0A>>> :=0A>>>>>> =A0 Hi Mike=0A>>>>>>> =A0 Could= you show u-boot printenv command result.=0A>>>>>>> =0A>>>>>>> =A0 Thanks= =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =A0 ----- Original Message -----=0A>>>>>>= >> =A0 From: Mike Wolman =0A>>>>>>>> =A0 To: Mori Hiro= ki ;=0A>>> "freebsd-mips@freebsd.org" =0A>>>>>>>> =A0 Cc:=0A>>>>>>>> =A0 Date: 2017/5/9, Tue 10:30= =0A>>>>>>>> =A0 Subject: Re: onion omega2+=0A>>>>>>>> =0A>>>>>>>> =A0 Hi = Mori,=0A>>>>>>>> =0A>>>>>>>> =A0 When I compiled the world/kernel etc I us= ed:=0A>>>>>>>> =0A>>>>>>>> =A0 X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3DMT7628_= FDT=0A>>>>>>>> =A0 ../freebsd-wifi-build/build/ bin/build ralink=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 buildkernel=0A>>>>>>>> =A0 I check= ed the serial stuff was the same as the=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 other configs in:=0A>>>>>>>> =A0 https://github.com/freebsd/ fr= eebsd-wifi-build/=0A>>>>>>>> =A0 and they looked the same.=0A>>>>>>>> =0A>= >>>>>>> =A0 The OMEGA2.dtsi file has:=0A>>>>>>>> =0A>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 chosen {=0A>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 b= ootargs =3D=0A>>> "console=3DttyS0,115200";=0A>>>>>>>> =A0 =A0 =A0 =A0 =A0= =A0 };=0A>>>>>>>> =0A>>>>>>>> =0A>>>>>>>> =A0 And mt7628an.dtsi has:=A0 = serial0 =3D &uartlite;=0A>>>>>>>> =0A>>>>>>>> =A0 I dont think im getting= as far as worrying about=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 th= e serial console at=0A>>>>>>>> =A0 the moment and need to get the kernel t= o =0A> uncompress=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 first.=0A>= >>>>>>> =A0 Mike.=0A>>>>>>>> =0A>>>>>>>> =0A>>>>>>>> =A0 On 09/05/2017 02= :20, Mori Hiroki wrote:=0A>>>>>>>>> =A0 =A0 =A0 Hi Mike=0A>>>>>>>>> =0A>>>>= >>>>> =A0 =A0 =A0 In FreeBSD is use serial0 dts item to =0A> console.=0A>>>= >>>>>> =0A>>>>>>>>> =A0 =A0 =A0 I think good to use this at start.=0A>>>>>>= >>> =0A>>>>>>>>> =A0 =A0 =A0 freebsd/sys/gnu/dts/mips/ MT7628.dts=0A>>>>>>>= >> =0A>>>>>>>>> =A0 =A0 =A0 ----- Original Message -----=0A>>>>>>>>>> =A0 = =A0 =A0 From: Mike Wolman =0A> =0A>>>>>>>>>> =A0 =A0 =A0= To: Mori Hiroki =0A> ;=0A>>>>>>>> =A0 "freebsd-mip= s@freebsd.org"=0A>>> =0A>>>>>>>>>> =A0 =A0 =A0 C= c:=0A>>>>>>>>>> =A0 =A0 =A0 Date: 2017/5/9, Tue 09:25=0A>>>>>>>>>> =A0 =A0 = =A0 Subject: Re: onion omega2+=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 Hi Mo= ri,=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 I grabbed the dts files from:=0A= >>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 https://github.com/WereCatf/=0A>>> so= urce/tree/image/target/ linux/ramips/dts=0A>>>>>>>> =A0 https://github.com/= WereCatf/ =0A> source/blob/image/target/=0A>>> linux/ramips/dts/OMEGA2P.dt= s=0A>>>>>>>> =A0 https://github.com/WereCatf/ =0A> source/blob/image/target= /=0A>>> linux/ramips/dts/OMEGA2.dtsi=0A>>>>>>>>>> =A0 =A0 =A0 If this is o= f any use from the default=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 l= inux install on the flash:=0A>>>>>>>>>> =A0 =A0 =A0 root@Omega-12BF:/proc# = cat /proc/mtd=0A>>>>>>>>>> =A0 =A0 =A0 dev:=A0 =A0 size=A0 erasesize=A0 na= me=0A>>>>>>>>>> =A0 =A0 =A0 mtd0: 00030000 00010000 =0A> "u-boot"=0A>>>>>>>= >>> =A0 =A0 =A0 mtd1: 00010000 00010000 =0A> "u-boot-env"=0A>>>>>>>>>> =A0 = =A0 =A0 mtd2: 00010000 00010000 =0A> "factory"=0A>>>>>>>>>> =A0 =A0 =A0 mtd= 3: 01fb0000 00010000 =0A> "firmware"=0A>>>>>>>>>> =A0 =A0 =A0 mtd4: 0014884= 2 00010000 =0A> "kernel"=0A>>>>>>>>>> =A0 =A0 =A0 mtd5: 01e677be 00010000 = =0A> "rootfs"=0A>>>>>>>>>> =A0 =A0 =A0 mtd6: 01950000 00010000 =0A> "rootfs= _data"=0A>>>>>>>>>> =0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 btw after posti= ng i spotted and error =0A> in=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 what i did with:=0A>>>>>>>>>> =A0 =A0 =A0 mkimage -A mips -O linux -T k= ernel -C =0A> lzma=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \=0A>>>>>= >>>>> =A0 =A0 =A0 =A0 =A0 -a 0x80001000 -e 0x80001100 \=0A>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 -n "FreeBSD" -d=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 kernel.MT7628_FDT.lzma=0A>>>>>>>>>> =A0 =A0 =A0 kernel.MT7628_FDT.ulzma= .uImage=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 I have redone this using the= correct=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 compressed kernel i= e:=0A>>>>>>>>>> =A0 =A0 =A0 mkimage -A mips -O linux -T kernel -C =0A> lzma= =0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \=0A>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 -a 0x80001000 -e 0x80001100 \=0A>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 -n "= FreeBSD" -d=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FD= T.ulzma=0A>>>>>>>>>> =A0 =A0 =A0 kernel.MT7628_FDT.ulzma.uImage=0A>>>>>>>>>= > =0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 But this didnt work.=0A>>>>>>>>>>= =0A>>>>>>>>>> =0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 =A0 On 09/05/2017 01:17,= Mori Hiroki =0A> wrote:=0A>>>>>>>>>>> =A0 =A0 =A0 Hi.=0A>>>>>>>>>>> =0A>>= >>>>>>>>> =A0 =A0 =A0 I think if U-Boot work memory =0A> make=0A>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 broken then=0A>>>>>>>>>>> =A0 =A0 =A0 = Uncompressing Kernel Image is NG.=0A>>>>>>>>>>> =0A>>>>>>>>>>> =A0 =A0 =A0 = Some ARM U-Boot is use top =0A> address=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 in work memory.=0A>>>>>>>>>>> =A0 =A0 =A0 If this case your k= ernel start=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 address to move = to=0A>>>>>>>>>>> =A0 =A0 =A0 after work memory. But I never =0A> see=0A>>>= > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 in MIPS.=0A>>>>>>>>>>> =A0 =A0 = =A0 And What is set FDT_DTS_FILE=A0 in=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 your kernel configuration ?=0A>>>>>>>>>>> =A0 =A0 =A0 ----- Or= iginal Message -----=0A>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 From: Mike = Wolman=0A>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 To: freebsd-m= ips@freebsd.org=0A>>>>>>>>>>>> =A0 =A0 =A0 Cc:=0A>>>>>>>>>>>> =A0 =A0 =A0 = Date: 2017/5/9, Tue 07:48=0A>>>>>>>>>>>> =A0 =A0 =A0 Subject: Re: onion o= mega2+=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 More inf= o in case anyone can=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 point m= e in the right direction.=0A>>>>>>>>>>>> =A0 =A0 =A0 I have found:=0A>>>>>= >>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 https://forum.openwrt.org/=0A>>> viewt= opic.php?id=3D53865=0A>>>>>>>>>>>> =A0 =A0 =A0 I have tried changing how = =0A> lzma=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 compresses the ker= nel by=0A>>>>>>>> =A0 adding -d20 to=0A>>>>>>>>>>>> =A0 =A0 =A0 the build= scripts eg:=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 /usr/local/bin/lzm= a e=0A>>>>>>>>>>>> =A0 =A0 =0A>>>>>>>> =A0 /home/mike/omega2/src/../root/= =0A>>> mipsel_ap/boot/kernel.MT7628_ FDT/kernel=0A>>>>>>>>>> =A0 =A0 =A0 \= =0A>>>>>>>>>>>> =A0 =A0 =A0 /home/mike/omega2/src/../=0A>>> tftpboot/kern= el.MT7628_FDT. lzma=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -d20=0A>= >>>>>>>>>>> =A0 =A0 =A0 This did not work.=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> = =0A>>>>>>>>>>>> =A0 =A0 =A0 Looking at the onion omega =0A> conf=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 I see that it uses mkuzip and=0A>>>= >>>>> =A0 not lzma=0A>>>>>>>>>>>> =A0 =A0 =A0 with the following settings= :=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =0A> X_FSIMAGE_CMD=3D"mkuzip"= =0A>>>>>>>>>>>> =A0 =A0 =A0 X_FSIMAGE_ARGS=3D"-L -d -s =0A> 65536=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -v"=0A>>>>>>>>>>>> =A0 =A0 =A0 =0A>= X_FSIMAGE_SUFFIX=3D".ulzma"=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 So= tried the following:=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 mkuzip -L= -d -s 65536 -v -o=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT= 7628_FDT.ulzma=0A>>>>>>>> =A0 kernel.MT7628_FDT=0A>>>>>>>>>>>> =A0 =A0 =A0= mkimage -A mips -O linux -T=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 kernel -C lzma \=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 -a 0x80001000 -e = =0A> 0x80001100=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \=0A>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 -n "FreeBSD" -d=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 kernel.MT7628_FDT.lzma=0A>>>>>>>>>>>> =A0 =A0 =A0 =0A> kern= el.MT7628_FDT.ulzma.uImage=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =0A>>>>>>>>>>>> = =A0 =A0 =A0 But this did not work either.=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> = =0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 On 08/05/2017 19:41, =0A> Alek= sandr=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Rybalko wrote:=0A>>>>>= >>>>>>>> =A0 =A0 =A0 =A0 Hi Mike!=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0= =A0 =A0 I see you have no =0A> "OK"=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 after=0A>>>>>>>> =A0 "Uncompressing Kernel=0A>>>>>>>>>> =A0 = =A0 =A0 Image=0A>>>>>>>>>>>> =A0 =A0 =A0 ...", so=0A>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 first point uboot=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 d= ecompressor fail.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Why fail? Because you = =0A> have=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 wrong base address= in image:=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Load Address: =0A> fffffff2= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Entry Point:=A0 =0A> fffffff2=0A>>>>>= >>>>>>>> =A0 =A0 =A0 =A0 MIPS32 machines have =0A> RAM=0A>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 mapped to 0x80000000 address,=0A>>>>>>>> =A0 s= o adding=0A>>>>>>>>>> =A0 =A0 =A0 its=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 size= , you will get max=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 address (= if 16MB, it will be=0A>>>>>>>> =A0 0x81000000),=0A>>>>>>>>>> =A0 =A0 =A0 b= ut=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 you uboot image was=0A>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 created with 0xfffffff2.=0A>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 Even more, unpacked =0A> kernel=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 expects it will be called at=0A>>>>>>>>>> =A0 =A0 =A0 0x80= 001100. so=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 if you have ELF kernel=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (file with ELF header, like=0A>>>>>= >>> =A0 every=0A>>>>>>>>>> =A0 =A0 =A0 executable)=0A>>>>>>>>>>>>> =A0 =A0= =A0 =A0 that file have to be=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 loaded at (0x80001100 -=0A>>>>>>>> =A0 ELF_HEADER_SIZE).=0A>>>>>>>>>>>= >> =A0 =A0 =A0 =A0 In most cases it will =0A> be=0A>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 0x80001100 - 0x100 =3D=0A>>>>>>>> =A0 0x80001000. = But=0A>>>>>>>>>> =A0 =A0 =A0 sometime=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 (I d= id not found why) =0A> it=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ca= n be 0x20, you can find it=0A>>>>>>>> =A0 by looking=0A>>>>>>>>>> =A0 =A0 = =A0 at=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 .text section in =0A> readelf=0A>>>= > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -S.=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 So if you have kernel =0A> with=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 entry point 0x80001100 and=0A>>>>>>>> =A0 .text=0A>>>>>>>>>> =A0 = =A0 =A0 segment=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 offset 0x100, you have =0A= > to=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 create uboot image with= load=0A>>>>>>>> =A0 address=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 0x80001000 a= nd entry =0A> point=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0x800011= 00.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 If that step successful=0A>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 you will get:=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 /Uncompressing Kernel=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 I= mage/ ... OK=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Starting kernel ...=0A>>>>>>>= >>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Last line mean, uboot =0A> did=0A>= >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 jump into kernel code.=0A>>>>>>= >>>>>>> =A0 =A0 =A0 =A0 Good luck.=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 2017-05-07 18:20 =0A> GMT+03:00=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 Mike Wolman=0A>>>>>>>> =A0 >>>>>>>>= >>>> =A0 =A0 =A0 =A0 =0A>>> >:=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 Hi,=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 I am trying to get=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 FreeBSD working on this board -=0A>>>>>>>> =A0 I think I=0A>>>>>>>>>> = =A0 =A0 =A0 am=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 almost there in=0A>= >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 getting it working but need som= e=0A>>>>>>>> =A0 help please.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 I h= ave followed=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 instructions fr= om the=0A>>>>>>>> =A0 freebsd-wifi-build and=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 *think* I have got=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 everything correct - I am trying=0A>>>>>>>> =A0 to do=0A>>>>>>>>>> =A0= =A0 =A0 this on=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 a CURRENT setup:= =0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 f64-current.mw.office 12.0-CURRENT = FreeBSD=0A>>>>>>>>>> =A0 =A0 =A0 12.0-CURRENT #0=0A>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 r317887: Sun May=A0 7=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 03:20:34 UTC 2017=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>= >>>> =A0 =A0 =A0 mike@f64-current.mw.office:/=0A>>> usr/obj/usr/src/sys/GE= NERIC- NODEBUG amd64=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 $ cat=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~/.freebsd-wifi-build- settings.cfg= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> X_SKIP_MORE_STUFF=3DYES=0A>>>= >>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 X_EXTRA_SRC_CONF=3D~/omega2/src. conf=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 $ cat=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~/omega2/= src.conf=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 WITHOUT_CLANG=3DYES=0A>>>= >>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> WITHOUT_CLANG_FULL=3DYES=0A>>>>>>>>= >>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 get dts files from=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 thread=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =0A>>>>>>>> =A0 http://community.onion.io/ =0A> topic/1099/openwrt-= on-the-=0A>>> omega-2/8=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> = =A0 =A0 =A0 >> topic/1099/openwrt-on-the- o= mega-2/8>=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 cd=0A>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~/omega2/src/sys/gnu/dts/mips=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 fetch=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>= >>> =A0 https://raw.githubusercontent. =0A> com/WereCatf/source/image/=0A>>= > target/linux/ramips/dts/ OMEGA2.dtsi=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0= =0A>>>>>>>> =A0 >> WereCatf/sour= ce/image/target/ linux/ramips/dts/OMEGA2.dtsi>=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 fetch=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 http= s://raw.githubusercontent. =0A> com/WereCatf/source/image/=0A>>> target/li= nux/ramips/dts/ OMEGA2.dts=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> = =A0 >> WereCatf/source/image/targ= et/ linux/ramips/dts/OMEGA2.dts>=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 f= etch=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 https://raw.github= usercontent. =0A> com/WereCatf/source/image/=0A>>> target/linux/ramips/dts= / OMEGA2P.dts=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 >> WereCatf/source/image/target/ linux/ram= ips/dts/OMEGA2P.dts>=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> X_DTS_FIL= E=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3DM= T7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build ralink=0A>>>= >>>>> =A0 buildworld=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> X_DTS_FI= LE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3D= MT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build ralink=0A>>>= >>>>> =A0 buildkernel=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> X_DTS_F= ILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF= =3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build ralink= =0A>>>>>>>> =A0 installworld=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> = X_DTS_FILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KER= NCONF=3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build rali= nk=0A>>>>>>>> =A0 installkernel=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =0A> X_DTS_FILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/bu= ild ralink=0A>>>>>>>> =A0 distribution=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0= =A0 =0A> X_DTS_FILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin= /build ralink=0A>>>>>>>> =A0 mfsroot=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =0A> X_DTS_FILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin= /build ralink=0A>>>>>>>> =A0 fsimage=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =0A> X_DTS_FILE=3DOMEGA2P.dts=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin= /build ralink =0A> uboot=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Create fl= ash:=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 X_FLASH=3Dkernel.MT7628_FDT. lzma.flash= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 dd if=3D/dev/zero =0A> bs=3D$((= =0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0x200000 )) count=3D1=0A>>>= >>>>> =A0 of=3D${X_FLASH}=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 dd=0A>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if=3Dkernel.MT7628_FDT.lzma. uIm= age of=3D${X_FLASH}=0A>>>>>>>>>> =A0 =A0 =A0 conv=3Dnotrunc=0A>>>>>>>>>>>>>= =A0 =A0 =A0 =A0 =A0 =A0 dd if=3D=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 mfsroot-ralink.img.lzma >> ${X_FLASH}=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 $ readelf -h=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ke= rnel.MT7628_FDT | grep Entry=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 E= ntry point=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 address:=A0 =A0 = =A0 =A0 =A0 =A0 =A0 0x80001100=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =0A>>>>>>>= >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Now on the omega =0A> over=0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 serial - I didnt get the=0A>>>>>>>> =A0 ne= twork=0A>>>>>>>>>> =A0 =A0 =A0 expansion=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 doc thing so am =0A> doing=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 stuff with usb rather than=0A>>>>>>>> =A0 tftp=0A>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 I am not 100% sure=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 about the 0x80001100 and the=0A>>>>>>>> =A0 fatload and=0A>>>= >>>>>>> =A0 =A0 =A0 have=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 tried thi= s=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # fatloa= d =0A> usb=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0:1 0x80001100=0A= >>>>>>>>>> =A0 =A0 =A0 /kernel.MT7628_FDT.lzma.flash=0A>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>= >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Reading file=0A>>>>>>>> =A0 "/kernel.MT762= 8_FDT.lzma. flash"=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>= >> =A0 =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 **= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 ******=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 **= ****************************=0A>>> ****************************** ********= **********************=0A>>> ****************************** **************= *******=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 ******=0A>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 FAT: 21084= 63 Bytes=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 read=0A>>>>>>>>>>>>= > =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # bootm=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 0x80001100=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 ## Boot= ing image at=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 80001100 ...=0A= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Image Name:=0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 Image Type:=A0 =0A> MIPS=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 Linux Kernel Image (lzma=0A>>>>>>>> =A0 compressed)=0A>>>>>>>>= >>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Data Size:=0A>>>> =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 1365122 Bytes =3D=A0 1.3 MB=0A>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 Load Address:=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Entry = Point:=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>= >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Verifying =0A> Checksum=0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ... OK=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 Uncompressing=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Ke= rnel Image ...=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 At this point =0A> = nothing=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 happens and console = hangs -=0A>>>>>>>> =A0 note in=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 OM= EGA2.dtsithe =0A> console=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is= set to ttyS0:=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D=0A>>>>= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "console=3DttyS0,115200";=0A>>>>>>= >>>>>>> =0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 I have a= lso tried =0A> with=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 just ker= nel.MT7628_FDT and=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A> kernel.MT76= 28_FDT.lzma=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 but both fail:= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # fatload =0A> usb=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0:1 0x80001100=0A>>>>>>>>>> =A0 =A0= =A0 /kernel.MT7628_FDT.lzma.uImage=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0= *=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 Reading file=0A>>>>>>>> =A0 "/kernel.MT7628_FDT.lzma. uImage"= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 **=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 ******=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>= >>>> =A0 ******************************=0A>>> ***************************= *** ******************************=0A>>> ****************************** **= ****=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 **********=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 FAT: 13= 65186 Bytes=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 read=0A>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # bootm=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 0x80001100=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 ## Boo= ting image at=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 80001100 ...= =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Image Name:=0A>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 Image Type:=A0 =0A> MIPS=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 Linux Kernel Image (lzma=0A>>>>>>>> =A0 compressed)=0A>>>>>>>= >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Data Size:=0A>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 1365122 Bytes =3D=A0 1.3 MB=0A>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 Load Address:=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Entry = Point:=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>= >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Verifying =0A> Checksum=0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ... OK=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 Uncompressing=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Ke= rnel Image ...=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 A few comments on = =0A> the=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 hardware for anyone= who wants=0A>>>>>>>> =A0 to get=0A>>>>>>>>>> =A0 =A0 =A0 one:=0A>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 Get the expansion =0A> dock=0A>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 with serial port access -=0A>>>>>>>> =A0 t= he power=0A>>>>>>>>>> =A0 =A0 =A0 dock=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 does not provide=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 serial= access - i think it is=0A>>>>>>>> =A0 possible to=0A>>>>>>>>>> =A0 =A0 = =A0 use an=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 ftdi ttl serial=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 chip/cable but have not tried.=0A>>= >>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Stupidly I forgot =0A> this=0A>>>> =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 only has wifi access so you=0A>>>>>>>>= =A0 are not=0A>>>>>>>>>> =A0 =A0 =A0 able to=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 tftp boot this =0A> without=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 getting the ethernet network=0A>>>>>>>> =A0 expansion=0A>>>>>= >>>>> =A0 =A0 =A0 but=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 loading stuf= f up =0A> from=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 a usb memory = stick is seem=0A>>>>>>>> =A0 fine from=0A>>>>>>>>>> =A0 =A0 =A0 u-boot.=0A= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 I do not think that =0A> it=0A>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is possible to boot from the=0A>>>>= >>>> =A0 SD card=0A>>>>>>>>>> =A0 =A0 =A0 on the=0A>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 Omega2+ - which is =0A> a=0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 shame.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Thanks for = reading,=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Mike.=0A= >>>>>>>>>>>>> =0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =0A>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ___________= ___________________ _________________=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =0A> freebsd-mips@freebsd.org=0A>>>>>>>>>> =A0 =A0 =A0 org>mailing=0A>>>>>>>>>>>> =A0 =A0 =A0 list=0A>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 https://lists.freebsd.org/ =0A> ma= ilman/listinfo/freebsd-mips=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>= >> =A0 =A0 =A0 >> mailman/listinfo/freebsd-= mips>=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 To unsubscribe, =0A> send=0A= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 any mail to=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> "freebsd-mips-unsubscribe@ freebsd.org=0A>>= >>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>> =A0 = unsubscribe@freebsd.org>"=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>= > =A0 =A0 =A0 =A0 --=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 WBW=0A>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 -------=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Rybalko Aleksandr= =0A>>> >>>>>>>>> =A0 =A0 =A0 >= =0A>>>>>>>>>>>> =A0 =A0 =A0 =0A> ______________________________=0A>>> ____= _____________=0A>>>>>>>>>>>> =A0 =A0 =A0 freebsd-mips@freebsd.org =0A> mail= ing list=0A>>>>>>>>>>>> =A0 =A0 =A0 https://lists.freebsd.org/=0A>>> mailm= an/listinfo/freebsd-mips=0A>>>>>>>>>>>> =A0 =A0 =A0 To unsubscribe, send a= ny mail =0A> to=0A>>>>>>>>>>>> =A0 =A0 =A0 =0A> "freebsd-mips-unsubscribe@= =0A>>> freebsd.org"=0A>>>>>>> =A0 ______________________________ ________= _________=0A>>>>>>> =A0 freebsd-mips@freebsd.org mailing list=0A>>>>>>> =A0= https://lists.freebsd.org/ =0A> mailman/listinfo/freebsd-mips=0A>>>>>>> = =A0 To unsubscribe, send any mail to=0A>>> "freebsd-mips-unsubscribe@ fre= ebsd.org"=0A>>>>>> =A0 --=0A>>>>>> =0A>>>>>> =A0 WBW=0A>>>>>> =A0 ------= -=0A>>>>>> =A0 Rybalko Aleksandr =0A>>>>>> =0A>>>>>> =0A>>= >>> =0A>