From owner-freebsd-mips@freebsd.org Tue May 9 23:08:06 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 8DBC0D65EC7 for ; Tue, 9 May 2017 23:08:06 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm7.bullet.mail.kks.yahoo.co.jp (nh501-vm7.bullet.mail.kks.yahoo.co.jp [183.79.56.137]) by mx1.freebsd.org (Postfix) with SMTP id D44341AC0 for ; Tue, 9 May 2017 23:08:05 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 23:05:19 -0000 Received: from [183.79.101.121] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 23:05:19 -0000 Received: from [127.0.0.1] by omp508.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 23:05:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 723982.63323.bm@omp508.mail.kks.yahoo.co.jp Received: (qmail 39098 invoked by uid 60001); 9 May 2017 23:05:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1494371119; bh=n5eHUKIAIobYOdJ6lxU1vvOL8ZAYdf3QVSBD2h27rqE=; 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=qqFLJOKv4HYdZN0BpYlE/qnNaunhOUUqTEd8iD3lGXTweq8ZOvU8SkOEqqiuJppinRO0ioqv4Qkx6mhSN2vSKIrZK6MIdhRoyPUcgL4FmEqqT9ogujLildOH1jkEUc/tNpQZXDMaUKMw4ARwNHHUdHJvGCrt90a5Ez46RABcvmA= 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=k8TKvbiPqyWoLxxCCOQuZLqufLejvXCXMfruaFYoDL0nuE8k/zL14MqlrNLMpYEC0WzAVcHyZR0jtroy2rSV4K+w4zVsQ/8rn6tNIjgEPi3+B2TE5pTRt/eMQEg1h6jPjIR/9xCOx42i1V7VtyWQyRZWfP4YJ3eqt3XacCbLD4g=; Message-ID: <369335.16286.qm@web101716.mail.ssk.yahoo.co.jp> X-YMail-OSG: QTtt.cUVM1mhULr8E.Kv_Iwygk1PNaoXxzGkbR4Jn4Z2CtD4ly5EVJdiv_4K7TKiHpAxbB7DZDx6tc3RdvzXJMyE9b4biTZA.cXLiGiRCe.nH._rDm25P8l5YSniKdryh2eXGsPjwtnHahF477NT8VsVqU9Wbx3q07iwHhvr87Yvm3W.dta.Hf_c1WWMsPcG8NWF6u1bwu5gnkNPDVsJdiGKBgBRHBZXcbVP1gLzuY0nqNZefIOf4owNoQUxhqALokU9lP1u6nv8B3MhPDiITUG0cyWwHYLfkVIZUdc_eKWmC7QCpzO_2tAqSIvrTFTPoPOhozi3oj9f_xClfFARNCkO2iLk0KLXvYAcNIfjWqKsEjx8ryd2ubrVwNhSwhSdryhMlsTmO0f854FD.7SG7249ekOURMm.Trjfipu2aU.llT9TQz51XjLm.czX8sK9U2HdHq1qlLN3EFYJ4ErkakzbnydFgTd.mqxl2sw5m2deoyRwGsfBrDuerHVqF1F0.BmBh.ZAclxl5Kc2.Pycwc.LbEZn1BN1ZES5RXMoVFji199_oYqY8CfOffp3fANtte8rDWrO9tqI1576AD8M4THDaZ0Nkh1WLvcKZ6hUgARsxAc8AAU.2vLDvQ-- Received: from [210.20.198.8] by web101716.mail.ssk.yahoo.co.jp via HTTP; Wed, 10 May 2017 08:05:18 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: PPfhdGoVM1mYVu926fQ8YsOsVVovbLo6bI_uDKIxrT2ON6UHvBz9g8d5JNg8Cs.wjvuP5S6ErTh0ryNmk7IXuhowtds5aFae4oU1R7DvDBzlv3t_YBYj0G0Zrdpq6B2Ni0BN 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> <541011.41820.qm@web101719.mail.ssk.yahoo.co.jp> <672be258-8fed-6317-1325-f9fccf2646c3@wolman.co.uk> Date: Wed, 10 May 2017 08:05:18 +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: <672be258-8fed-6317-1325-f9fccf2646c3@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 23:08:06 -0000 Hi Mike.=0A=0AI seem load address is good.=0A=0AI check=A0mt7628an.dtsi fil= e.=A0=0A=0AThis file uart entry is=0A=0A=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0u= artlite: uartlite@c00 {=0A=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 c= ompatible =3D "ns16550a";=0AIn this case you must add uart_ns8250 device to= kernel configuration.=0A=0A----- Original Message -----=0A> From: Mike Wol= man =0A> To: Mori Hiroki ; Aleksa= ndr Rybalko =0A> Cc: "freebsd-mips@freebsd.org" =0A> Date: 2017/5/10, Wed 00:51=0A> Subject: Re: onion omega= 2+=0A> =0A> Ok I not sure what my next step or what Im looking for but here= is some =0A> info about the serial stuff and readelf ouput=0A> =0A> [mike@= f64-current ~/omega2/tftpboot]$ readelf -h kernel.MT7628_FDT=0A> ELF Header= :=0A> =A0 Magic:=A0 7f 45 4c 46 01 01 01 09 00 00 00 00 00 00 00 00=0A> = =A0 Class:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ELF32= =0A> =A0 Data:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = 2's complement, little endian=0A> =A0 Version:=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 1 (current)=0A> =A0 OS/ABI:=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD=0A> =A0 ABI Version:=A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0=0A> =A0 Type:=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 EXEC (Executable file)=0A> =A0 Mac= hine:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MIPS R3000 Big-En= dian only=0A> =A0 Version:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 0x1=0A> =A0 Entry point address:=A0 =A0 =A0 =A0 =A0 =A0 =A0 0x800011= 00=0A> =A0 Start of program headers:=A0 =A0 =A0 =A0 =A0 52 (bytes into fil= e)=0A> =A0 Start of section headers:=A0 =A0 =A0 =A0 =A0 5653480 (bytes int= o file)=0A> =A0 Flags:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 0x50001001, mips32, o32, noreorder=0A> =A0 Size of this header:=A0 = =A0 =A0 =A0 =A0 =A0 =A0 52 (bytes)=0A> =A0 Size of program headers:=A0 = =A0 =A0 =A0 =A0 32 (bytes)=0A> =A0 Number of program headers:=A0 =A0 =A0 = =A0 6=0A> =A0 Size of section headers:=A0 =A0 =A0 =A0 =A0 40 (bytes)=0A>= =A0 Number of section headers:=A0 =A0 =A0 =A0 32=0A> =A0 Section header= string table index: 29=0A> =0A> =0A> When booting into linux from flash:= =0A> =0A> root@Omega-12BF:/dev# dmesg |grep tty=0A> [=A0 =A0 0.000000] Kern= el command line: console=3DttyS0,115200 =0A> rootfstype=3Dsquashfs,jffs2=0A= > [=A0 =A0 0.276011] console [ttyS0] disabled=0A> [=A0 =A0 0.279438] 10000c= 00.uartlite: ttyS0 at MMIO 0x10000c00 (irq =3D 28, =0A> base_baud =3D 25000= 00) is a 16550A=0A> [=A0 =A0 0.288217] console [ttyS0] enabled=0A> [=A0 =A0= 0.303969] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq =3D 29, =0A> base_= baud =3D 2500000) is a 16550A=0A> [=A0 =A0 0.313561] 10000e00.uart2: ttyS2 = at MMIO 0x10000e00 (irq =3D 30, =0A> base_baud =3D 2500000) is a 16550A=0A>= =0A> =0A> =0A> [mike@f64-current ~/omega2/src/sys/gnu/dts/mips]$ grep seri= al *=0A> LINKIT7688.dts:=A0 =A0 =A0 =A0 serial0 =3D &uart2;=0A> LINKIT7688= .dts-orig:=A0 =A0 =A0 =A0 =A0 =A0 serial0 =3D &uart2;=0A> mt7620a.dtsi:=A0 = =A0 =A0 =A0 =A0 serial0 =3D &uartlite;=0A> mt7620n.dtsi:=A0 =A0 =A0 =A0 = =A0 serial0 =3D &uartlite;=0A> mt7621.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 serial0= =3D &uartlite;=0A> mt7628an.dtsi:=A0 =A0 =A0 =A0 =A0 serial0 =3D &uartlite= ;=A0 <------ the included dtsi =0A> by OMEGA2.dtsi=0A> rt2880.dtsi:=A0 =A0= =A0 =A0 =A0 =A0 serial0 =3D &uartlite;=0A> rt3050.dtsi:=A0 =A0 =A0 =A0 =A0= =A0 serial0 =3D &uartlite;=0A> rt3352.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 serial0= =3D &uartlite;=0A> rt3883.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 serial0 =3D &uartli= te;=0A> rt5350.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 serial0 =3D &uartlite;=0A> =0A>= =0A> [mike@f64-current ~/omega2/src/sys/gnu/dts/mips]$ grep tty *=0A> Arch= erC20i.dts:=A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> CARA= MBOLA.dts:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> CF= -WR800N.dts:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> = MicroWRT.dts:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A= > NA930.dts:=A0 =A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS1,57600= ";=0A> OMEGA2.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,11= 5200"; <----- =0A> looks =0A> like all the others=0A> OY-0001.dts:=A0 =A0 = =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> PBR-M1.dts:=A0 = =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> SK-WB8.dts:= =A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A> ZBT-WG26= 26.dts:=A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> ZBT-WG35= 26.dts:=A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> mt7620a.= dtsi:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A> mt7620n= .dtsi:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A> mt7628= an.dtsi:=A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A> rt288= 0.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A> rt= 3050.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";=0A>= rt3352.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,57600";= =0A> rt3883.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,5760= 0";=0A> rt5350.dtsi:=A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,5= 7600";=0A> (i have removed some of the results from here as most files matc= h)=0A> =0A> On 09/05/2017 15:07, Mori Hiroki wrote:=0A>> Hi. Mike=0A>> =0A= >>> Starting kernel ...=0A>> =0A>> I think success to boot.=0A>> =0A>> N= ext is Entry point miss or uart console issue.=0A>> =0A>> =0A>> Entry poin= t can check on ELF kernel file by readelf command.=0A>> =0A>> Uart console= issue is in dts file.=0A>> =0A>> ----- Original Message -----=0A>> =0A>>>= From: Mike Wolman =0A>>> To: Mori Hiroki ; Aleksandr Rybalko =0A> =0A>>> Cc: "freebsd-mi= ps@freebsd.org" =0A> =0A>>> Date: 2017/5/9, Tue = 22:42=0A>>> Subject: Re: onion omega2+=0A>>> =0A>>> =0A>>> Ok got somewhe= re 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>>> *=0A>>> FAT: 5= 654824 Bytes read=0A>>> Omega2 # go=0A>>> Usage:=0A>>> go=A0 =A0 =A0 - s= tart application at address 'addr'=0A>>> =0A>>> Omega2 # go 0x80001000=0A>= >> ## Starting application at 0x80001000 ...=0A>>> =0A>>> =0A>>> =0A>>> I= have tried with:=0A>>> =0A>>> Omega2 # go 0x80001100=0A>>> ## Starting a= pplication at 0x80001100 ...=0A>>> =0A>>> =0A>>> =0A>>> I have tried using= the 0x80001000 for fatload as well:=0A>>> =0A>>> =0A>>> USB_STORAGE: 1 St= orage Device(s) found=0A>>> Omega2 # help fatload=0A>>> fatload =A0 =0A> =0A>>> [bytes]=0A>>> =A0 =A0 =A0 = - load binary file 'filename' from 'dev' on=0A>>> 'interface'=0A>>> =A0 = =A0 =A0 =A0 to address 'addr' from dos filesystem=0A>>> =0A>>> Reading fi= le "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>>> Om= ega2 # go 0x80001100=0A>>> ## Starting application at 0x80001100 ...=0A>>>= =0A>>> =0A>>> =0A>>> However:=0A>>> =0A>>> Omega2 # fatload usb 0:1 0x80= 800000 kernel.MT7628_FDT.uImage=0A>>> *=0A>>> *=0A>>> Reading file "kern= el.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 # b= ootm 0x80800000=0A>>> ## Booting image at 80800000 ...=0A>>> =A0 =A0 =A0 I= mage Name:=A0 FreeBSD=0A>>> =A0 =A0 =A0 Image Type:=A0 MIPS Linux Kernel = Image (uncompressed)=0A>>> =A0 =A0 =A0 Data Size:=A0 =A0 5654760 Bytes =3D= =A0 5.4 MB=0A>>> =A0 =A0 =A0 Load Address: 80001000=0A>>> =A0 =A0 =A0 Entry= Point:=A0 80001100=0A>>> =A0 =A0 =A0 Verifying Checksum ... OK=0A>>> OK= =0A>>> No initrd=0A>>> ## Transferring control to Linux (at address 80001= 100) ...=0A>>> ## Giving linux memsize in MB, 128=0A>>> =0A>>> Starting k= ernel ...=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>>>> =A0 Hi.=0A>>>> =0A>>>> =A0 One more.=0A>>>> =0A>>>> =A0 Omega2 #= fatload usb 0:1 0x80800000 kernel.MT7628_FDT.uImage=0A>>>> =0A>>>> =A0 Om= ega2 # bootm 0x80800000=0A>>>> =0A>>>> =A0 ----- Original Message -----=0A= >>>>> =A0 From: Mike Wolman =0A>>>>> =A0 To: Mori Hiro= ki ; Aleksandr =0A> Rybalko=0A>>> = =0A>>>>> =A0 Cc: "freebsd-mips@freebsd.org"=0A>>> =0A>>>>> =A0 Date: 2017/5/9, Tue 22:01=0A>>>>> =A0 Subject: Re: onion = omega2+=0A>>>>> =0A>>>>> =0A>>>>> =A0 No joy=0A>>>>> =0A>>>>> =A0 Omega2 = # fatload usb 0:1 0x80800000 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=0A>>>>> =A0 ## Booting image at 80100000 ...=0A>>>>> =A0 Bad Magic= Number,CE6AE7C4=0A>>>>> =0A>>>>> =A0 I am going to get a different usb me= mory stick and rebuild =0A> the kernel=0A>>>>> =A0 later on as i got an er= ror when last writing to the usb =0A> memory key and=0A>>>>> =A0 its quite= old now so just want to eliminate it from testing.=0A>>>>> =0A>>>>> =0A>>>= >> =A0 On 09/05/2017 13:52, Mori Hiroki wrote:=0A>>>>>> =A0 =A0 Hi.=0A>>>= >>> =0A>>>>>> =A0 =A0 This is my sample operation get image from network a= nd =0A> boot.=0A>>>>>> =0A>>>>>> =A0 =A0 RT3052 # tftpboot 0x80800000=0A>>= > Planex_MZK-WNH_kernel.kbin.oldlzma.uboot=0A>>>>>> =A0 =A0 RT3052 # boot= m=0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 I don't use USB support U-Boot. But= I think fatload =0A> command=0A>>> argument is=0A>>>>>> =A0 =A0 temporar= y memory address not kernel address.=0A>>>>>> =0A>>>>>> =A0 =A0 How about = this.=0A>>>>>> =0A>>>>>> =A0 =A0 Omega2 # fatload usb 0:1 0x80800000 =0A> = kernel.MT7628_FDT.uImage=0A>>>>>> =A0 =A0 Omega2 # bootm=0A>>>>>> =0A>>>>>= > =A0 =A0 ----- Original Message -----=0A>>>>>>> =A0 =A0 From: Mike Wolma= n =0A>>>>>>> =A0 =A0 To: Aleksandr Rybalko ; Mori =0A> Hiroki=0A>>>>> =A0 =0A>>>>>>> =A0 = =A0 Cc: "freebsd-mips@freebsd.org"=0A>>>>> =A0 = =0A>>>>>>> =A0 =A0 Date: 2017/5/9, Tue 20:48=0A>>>>>>> =A0 =A0 Subject: R= e: onion omega2+=0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =A0 = =A0 Is it possible to exclude the compression of the =0A> kernel/image=0A>= >> for=0A>>>>>> =A0 =A0 =A0 =A0 =A0 now eg:=0A>>>>>>> =A0 =A0 mkimage -A = mips -C none -O linux -T kernel -a =0A> 0x80001000 -e=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 0x80001100 -n "FreeBSD" -d =0A> kernel.MT7628_FDT=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 kernel.MT7628_FDT.uImage=0A>>>>>>> =A0 =A0 I have just tried t= he above but when booting I get =0A> a Bad=0A>>> Magic=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 Number.=0A>>>>>>> =A0 =A0 Omega2 # fatload usb 0:1 0x80001000 = =0A> kernel.MT7628_FDT.uImage=0A>>>>>>> =A0 =A0 *=0A>>>>>>> =A0 =A0 *=0A>= >>>>>> =A0 =A0 Reading file "kernel.MT7628_FDT.uImage"=0A>>>>>>> =A0 =A0 = *=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>= >> =A0 =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 = =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 =A0 **=0A>>>>>>> =A0 =A0 **= =0A>>>>>>> =A0 =A0 ******=0A>>>>>>> =A0 =A0 ******=0A>>>>>>> =0A>>> =0A> = ***************************************************************************= ***************************************************************************= ************************************************************=0A>>>>>>> =A0 = =A0 ****=0A>>>>>>> =A0 =A0 *=0A>>>>>>> =A0 =A0 FAT: 5654824 Bytes read= =0A>>>>>>> =A0 =A0 Omega2 # bootm 0x80001100=0A>>>>>>> =A0 =A0 ## Booting= image at 80001100 ...=0A>>>>>>> =A0 =A0 Bad Magic Number,1C994480=0A>>>>>= >> =A0 =A0 Omega2 #=0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =A0 =A0 I have seen o= ther examples starting a program =0A> directly with=0A>>> going to=0A>>>>>= > =A0 =A0 =A0 =A0 =A0 the address but this didnt work either:=0A>>>>>>> =A0= =A0 Omega2 # go 0x80001100=0A>>>>>>> =A0 =A0 ## Starting application at = 0x80001100 ...=0A>>>>>>> =0A>>>>>>> =A0 =A0 omega freezes here.=0A>>>>>>> = =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =A0 =A0 On 09/05/2017 10:12, A= leksandr Rybalko wrote:=0A>>>>>>> =0A>>>>>>> =A0 =A0 Fix things in order := )=0A>>>>>> =A0 =A0 Currently you have problem with LZMA, serial port =0A> = later.=0A>>>>>> =A0 =A0 So, find version of lzma used to build linux firmw= are, =0A> MIPS=0A>>> routers world=0A>>>>> =A0 use about 5 incompatible v= ersions. One of them, you can find =0A> here:=0A>>>>> =A0 =0A> http://proje= ct.zrouter.org/hg/zrouter/file/9ac53695a44d/tools/oldlzma=0A>>>>>>>> =0A>>>= >>>>> =0A>>>>>>>> =A0 =A0 2017-05-09 7:03 GMT+03:00 Mori Hiroki=0A>>>>> = =A0 :=0A>>>>>>>> =A0 =A0 Hi Mike=0A>>>>>>>>> =A0 = =A0 Could you show u-boot printenv command =0A> result.=0A>>>>>>>>> =0A>>>= >>>>>> =A0 =A0 Thanks=0A>>>>>>>>> =0A>>>>>>>>> =0A>>>>>>>>> =A0 =A0 -----= Original Message -----=0A>>>>>>>>>> =A0 =A0 From: Mike Wolman =0A> =0A>>>>>>>>>> =A0 =A0 To: Mori Hiroki =0A> ;=0A>>>>> =A0 "freebsd-mips@freebsd.org" =0A> =0A>>>>>>>>>> =A0 =A0 Cc:=0A>>>>>>>>>> =A0 =A0 Date: 2017/5/9, Tue 10:= 30=0A>>>>>>>>>> =A0 =A0 Subject: Re: onion omega2+=0A>>>>>>>>>> =0A>>>>>>>= >>> =A0 =A0 Hi Mori,=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 When I compiled t= he world/kernel etc I =0A> used:=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 X_DTS_= FILE=3DOMEGA2P.dts =0A> KERNCONF=3DMT7628_FDT=0A>>>>>>>>>> =A0 =A0 ../free= bsd-wifi-build/build/ bin/build =0A> ralink=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 buildkernel=0A>>>>>>>>>> =A0 =A0 I checked the ser= ial stuff was the same =0A> as the=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 other configs in:=0A>>>>>>>>>> =A0 =A0 https://github.com/free= bsd/ =0A> freebsd-wifi-build/=0A>>>>>>>>>> =A0 =A0 and they looked the sam= e.=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 The OMEGA2.dtsi file has:=0A>>>>>>>>= >> =0A>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 chosen {=0A>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D=0A>>>>> =A0 "console=3D= ttyS0,115200";=0A>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 };=0A>>>>>>>>>> = =0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 And mt7628an.dtsi has:=A0 serial0 =3D= =0A> &uartlite;=0A>>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 I dont think im gettin= g as far as =0A> worrying about=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 the serial console at=0A>>>>>>>>>> =A0 =A0 the moment and need= to get the kernel =0A> to=0A>>> uncompress=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 first.=0A>>>>>>>>>> =A0 =A0 Mike.=0A>>>>>>>>>> =0A= >>>>>>>>>> =0A>>>>>>>>>> =A0 =A0 On 09/05/2017 02:20, Mori Hiroki wrote:= =0A>>>>>>>>>>> =A0 =A0 =A0 =A0 Hi Mike=0A>>>>>>>>>>> =0A>>>>>>>>>>> =A0 =A0= =A0 =A0 In FreeBSD is use serial0 dts =0A> item to=0A>>> console.=0A>>>>>= >>>>>> =A0 =A0 =A0 =A0 I think good to use this at =0A> start.=0A>>>>>>>>>>= > =0A>>>>>>>>>>> =A0 =A0 =A0 =A0 freebsd/sys/gnu/dts/mips/ =0A> MT7628.dts= =0A>>>>>>>>>>> =0A>>>>>>>>>>> =A0 =A0 =A0 =A0 ----- Original Message -----= =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 From: Mike Wolman=0A>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 To: Mori Hiroki=0A>>> ;=0A>>>>>>>>>> =A0 =A0 "freebsd-mips@freebsd.org"=0A>>>>> =A0 =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 Cc:=0A>>>>>>>>>>>> =A0 = =A0 =A0 =A0 Date: 2017/5/9, Tue 09:25=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 Subjec= t: Re: onion omega2+=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 Hi Mori= ,=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 I grabbed the dts files = =0A> from:=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 https://github.co= m/WereCatf/=0A>>>>> =A0 source/tree/image/target/ linux/ramips/dts=0A>>>>>= >>>>> =A0 =A0 https://github.com/WereCatf/=0A>>> source/blob/image/target/= =0A>>>>> =A0 linux/ramips/dts/OMEGA2P.dts=0A>>>>>>>>>> =A0 =A0 https://git= hub.com/WereCatf/=0A>>> source/blob/image/target/=0A>>>>> =A0 linux/ramip= s/dts/OMEGA2.dtsi=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 If this is of any use from= =0A> the default=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 linu= x install on the flash:=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 root@Omega-12BF:/pro= c# cat =0A> /proc/mtd=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 dev:=A0 =A0 size=A0 e= rasesize=A0 =0A> name=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd0: 00030000 0001000= 0=0A>>> "u-boot"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd1: 00010000 00010000=0A= >>> "u-boot-env"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd2: 00010000 00010000=0A= >>> "factory"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd3: 01fb0000 00010000=0A>>>= "firmware"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd4: 00148842 00010000=0A>>> = "kernel"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd5: 01e677be 00010000=0A>>> "roo= tfs"=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mtd6: 01950000 00010000=0A>>> "rootfs_= data"=0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 btw after posting i sp= otted =0A> and error=0A>>> in=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 what i did with:=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mkimage -A mips -O= linux -T =0A> kernel -C=0A>>> lzma=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 \=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -a 0x80001000 -e = =0A> 0x80001100 \=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -n "FreeBSD" =0A> = -d=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FDT.l= zma=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> kernel.MT7628_FDT.ulzma.uImage=0A>>= >>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 I have redone this using the =0A= > correct=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 compressed k= ernel ie:=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mkimage -A mips -O linux -T =0A> k= ernel -C=0A>>> lzma=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \= =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -a 0x80001000 -e =0A> 0x80001100 \= =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -n "FreeBSD" =0A> -d=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FDT.ulzma=0A>>>>>>>>>= >>> =A0 =A0 =A0 =A0 =0A> kernel.MT7628_FDT.ulzma.uImage=0A>>>>>>>>>>>> =0A>= >>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 But this didnt work.=0A>>>>>>>>= >>>> =0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 On 09/= 05/2017 01:17, Mori =0A> Hiroki=0A>>> wrote:=0A>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 Hi.=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 I think if U-Boo= t work =0A> memory=0A>>> make=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 broken then=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Uncompressing Kernel = =0A> Image is NG.=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Some AR= M U-Boot is use =0A> top=0A>>> address=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 in work memory.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 If thi= s case your =0A> kernel start=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 address to move to=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 after work memo= ry. But =0A> I never=0A>>> see=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 in MIPS.=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 And What is set =0A> = FDT_DTS_FILE=A0 in=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 you= r kernel configuration ?=0A>>>>>>>>>>>>> =A0 =A0 =A0 =A0 ----- Original Me= ssage =0A> -----=0A>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 From: M= ike Wolman=0A>>>>> =A0 =0A>>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 To: =0A> freebsd-mips@freebsd.org=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Cc= :=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 Date: 2017/5/9, Tue =0A> 07:48=0A>>>>>>= >>>>>>>> =A0 =A0 =A0 =A0 Subject: Re: onion =0A> omega2+=0A>>>>>>>>>>>>>> = =0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 More info in case =0A>= anyone can=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 point me i= n the right direction.=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 I have found:=0A>>= >>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> https://forum.openwrt.o= rg/=0A>>>>> =A0 viewtopic.php?id=3D53865=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = I have tried =0A> changing how=0A>>> lzma=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 compresses the kernel by=0A>>>>>>>>>> =A0 =A0 addi= ng -d20 to=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 the build scripts =0A> eg:=0A>= >>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 /usr/local/bin/lzma =0A> e= =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 /home/mike/omega2/src/= ../root/=0A>>>>> =A0 mipsel_ap/boot/kernel.MT7628_ FDT/kernel=0A>>>>>>>>>>= >> =A0 =A0 =A0 =A0 \=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> /home/mike/omega= 2/src/../=0A>>>>> =A0 tftpboot/kernel.MT7628_FDT. lzma=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -d20=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = This did not work.=0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0= =A0 =A0 =A0 Looking at the =0A> onion omega=0A>>> conf=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 I see that it uses mkuzip and=0A>>>>>>>= >>> =A0 =A0 not lzma=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 with the following = =0A> settings:=0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A>>> X= _FSIMAGE_CMD=3D"mkuzip"=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> X_FSIMAGE_ARG= S=3D"-L -d -s=0A>>> 65536=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 -v"=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A>>> X_FSIMAGE_SUFFIX=3D".ulzm= a"=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 So tried the =0A> following:=0A>>>>>>>= >>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 mkuzip -L -d -s =0A> 65536 -v -o= =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FDT.ulz= ma=0A>>>>>>>>>> =A0 =A0 kernel.MT7628_FDT=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0= mkimage -A mips -O =0A> linux -T=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 kernel -C lzma \=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -a = 0x80001000 =0A> -e=0A>>> 0x80001100=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 \=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 -n =0A> "FreeBS= D" -d=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FD= T.lzma=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A>>> kernel.MT7628_FDT.ulzma.uIm= age=0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 But this did not = =0A> work either.=0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>> =0A>= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 On 08/05/2017 =0A> 19:41,=0A>>> Aleksandr= =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Rybalko wrote:=0A>>>>= >>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Hi Mike!=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>= >>> =A0 =A0 =A0 =A0 =A0 I see you =0A> have no=0A>>> "OK"=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 after=0A>>>>>>>>>> =A0 =A0 "Uncomp= ressing Kernel=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 Image=0A>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 ...", so=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 first point = =0A> uboot=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 decompresso= r fail.=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Why fail? =0A> Because you= =0A>>> have=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 wrong bas= e address in image:=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Load =0A> Ad= dress:=0A>>> fffffff2=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Entry =0A= > Point:=0A>>> fffffff2=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 MIPS32 =0A>= machines have=0A>>> RAM=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 mapped to 0x80000000 address,=0A>>>>>>>>>> =A0 =A0 so adding=0A>>>>>>>= >>>>> =A0 =A0 =A0 =A0 its=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 size, you = =0A> will get max=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 addr= ess (if 16MB, it will be=0A>>>>>>>>>> =A0 =A0 0x81000000),=0A>>>>>>>>>>>> = =A0 =A0 =A0 =A0 but=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 you uboot =0A> i= mage was=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 created with = 0xfffffff2.=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Even more, =0A> unpacked= =0A>>> kernel=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 expects= it will be called at=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 0x80001100. so=0A>>>>>= >>>>>>>>>> =A0 =A0 =A0 =A0 =A0 if you have =0A> ELF kernel=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (file with ELF header, like=0A>>>>>= >>>>> =A0 =A0 every=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 executable)=0A>>>>>>>>>= >>>>>> =A0 =A0 =A0 =A0 =A0 that file =0A> have to be=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 loaded at (0x80001100 -=0A>>>>>>>>>> =A0 = =A0 ELF_HEADER_SIZE).=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 In most cases= =0A> it will=0A>>> be=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 0x80001100 - 0x100 =3D=0A>>>>>>>>>> =A0 =A0 0x80001000. But=0A>>>>>>>>= >>>> =A0 =A0 =A0 =A0 sometime=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 (I did= not =0A> found why)=0A>>> it=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 can be 0x20, you can find it=0A>>>>>>>>>> =A0 =A0 by looking=0A>>= >>>>>>>>>> =A0 =A0 =A0 =A0 at=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 .text = section =0A> in=0A>>> readelf=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 -S.=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 So if you =0A> have ker= nel=0A>>> with=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 entry = point 0x80001100 and=0A>>>>>>>>>> =A0 =A0 .text=0A>>>>>>>>>>>> =A0 =A0 =A0= =A0 segment=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 offset 0x100, =0A> you = have=0A>>> to=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 create = uboot image with load=0A>>>>>>>>>> =A0 =A0 address=0A>>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 0x80001000 =0A> and entry=0A>>> point=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0x80001100.=0A>>>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 If that step =0A> successful=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 you will get:=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =0A= > /Uncompressing Kernel=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 Image/ ... OK=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Starting =0A> kern= el ...=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Last line = =0A> mean, uboot=0A>>> did=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 jump into kernel code.=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Good = luck.=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 2017-05-07 = =0A> 18:20=0A>>> GMT+03:00=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 Mike Wolman=0A>>>>>>>>>> =A0 =A0 >>>>>>>>>>>= >>> =A0 =A0 =A0 =A0 =A0 =0A>>>>> =A0 >:=0A>>>>>>= >>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Hi,=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 I am =0A> trying to get=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD working on this board -=0A>>>>>= >>>>> =A0 =A0 I think I=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 am=0A>>>>>>>>>>>>>>= > =A0 =A0 =A0 =A0 =A0 =A0 =A0 almost =0A> there in=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 getting it working but need some=0A>>>>>>>>= >> =A0 =A0 help please.=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 I h= ave =0A> followed=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 inst= ructions from the=0A>>>>>>>>>> =A0 =A0 freebsd-wifi-build and=0A>>>>>>>>>>= >>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *think* I =0A> have got=0A>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 everything correct - I am trying=0A>>>= >>>>>>> =A0 =A0 to do=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 this on=0A>>>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 a CURRENT =0A> setup:=0A>>>>>>>>>>>>>>> = =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 f64-current.mw.office 12.0-CURRENT =0A>= FreeBSD=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 12.0-CURRENT #0=0A>>>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 r317887: =0A> Sun May=A0 7=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 03:20:34 UTC 2017=0A>>>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 mike@f64-current.mw.of= fice:/=0A>>>>> =A0 usr/obj/usr/src/sys/GENERIC- NODEBUG amd64=0A>>>>>>>>>>= >>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 $ cat=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 ~/.freebsd-wifi-build- settings.cfg=0A>>>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> X_SKIP_MORE_STUFF=3DYES=0A>>>>>>>>>>>>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =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 =A0 $ cat=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 ~/omega2/src.conf=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A= > WITHOUT_CLANG=3DYES=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> = WITHOUT_CLANG_FULL=3DYES=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ge= t dts =0A> files from=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = thread=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 http= ://community.onion.io/=0A>>> topic/1099/openwrt-on-the-=0A>>>>> =A0 omega= -2/8=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =0A> >>>> =A0 topic/1099/openwrt-on-the= - omega-2/8>=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 cd=0A>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~/omega2/src/sys/gnu/dts/mips=0A>>= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 fetch=0A>>>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 https://raw.githubusercontent.=0A>>> = com/WereCatf/source/image/=0A>>>>> =A0 target/linux/ramips/dts/ OMEGA2.dt= si=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 >>>> =A0 WereCatf/source/image/target/ = =0A> linux/ramips/dts/OMEGA2.dtsi>=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 fetch=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 = =A0 https://raw.githubusercontent.=0A>>> com/WereCatf/source/image/=0A>>>>= > =A0 target/linux/ramips/dts/ OMEGA2.dts=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 = >>>> =A0 WereCatf/source/image/target/ linux/ramips/dts/OMEGA2.dts>=0A>>>>= >>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 fetch=0A>>>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 https://raw.githubusercontent.=0A>>> = com/WereCatf/source/image/=0A>>>>> =A0 target/linux/ramips/dts/ OMEGA2P.d= ts=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 >>>> =A0 WereCatf/source/image/target/ = =0A> linux/ramips/dts/OMEGA2P.dts>=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =0A>>> X_DTS_FILE=3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freeb= sd-wifi-build/build/ bin/build =0A> ralink=0A>>>>>>>>>> =A0 =A0 buildworld= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_FILE=3DOMEGA2P= .dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3DMT7628= _FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build =0A>= ralink=0A>>>>>>>>>> =A0 =A0 buildkernel=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 =A0 =0A>>> X_DTS_FILE=3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0= =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../f= reebsd-wifi-build/build/ bin/build =0A> ralink=0A>>>>>>>>>> =A0 =A0 instal= lworld=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_FILE=3DO= MEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3D= MT7628_FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/build = =0A> ralink=0A>>>>>>>>>> =A0 =A0 installkernel=0A>>>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_FILE=3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 ../freebsd-wifi-build/build/ bin/build =0A> ralink=0A>>>>>>>>>> =A0 =A0= distribution=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_= FILE=3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KER= NCONF=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bi= n/build =0A> ralink=0A>>>>>>>>>> =A0 =A0 mfsroot=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_FILE=3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCONF=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 ../freebsd-wifi-build/build/ bin/build =0A> ralink=0A>>>>>>>>>> =A0 =A0= fsimage=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> X_DTS_FILE= =3DOMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 KERNCON= F=3DMT7628_FDT=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/ bin/bu= ild =0A> ralink=0A>>> uboot=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = Create =0A> flash:=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 X_FLASH= =3Dkernel.MT7628_FDT. lzma.flash=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 dd =0A> if=3D/dev/zero=0A>>> bs=3D$((=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 0x200000 )) count=3D1=0A>>>>>>>>>> =A0 =A0 of=3D${= X_FLASH}=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 dd=0A>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if=3Dkernel.MT7628_FDT.lzma. uImage = =0A> of=3D${X_FLASH}=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 conv=3Dnotrunc=0A>>>>>>= >>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 dd if=3D=0A>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 mfsroot-ralink.img.lzma >> =0A> ${X_FLASH}=0A>>= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 $ readelf =0A> -h=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 kernel.MT7628_FDT | grep Entry=0A>>= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Entry =0A> point=0A>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 address:=A0 =A0 =A0 =A0 =A0 =A0= =A0 0x80001100=0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 Now on =0A> the omega=0A>>> over=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 serial - I didnt get the=0A>>>>>>>>>> =A0 =A0 network= =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 expansion=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 =A0 doc thing =0A> so am=0A>>> doing=0A>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 stuff with usb rather than=0A>>>>>>>>>> =A0 =A0= tftp=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 I am not =0A> 100% su= re=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 about the 0x8000110= 0 and the=0A>>>>>>>>>> =A0 =A0 fatload and=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 = have=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 tried =0A> this=0A>>>>>= >>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # =0A> fa= tload=0A>>> usb=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0:1 0= x80001100=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> /kernel.MT7628_FDT.lzma.flash= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Read= ing =0A> file=0A>>>>>>>>>> =A0 =A0 "/kernel.MT7628_FDT.lzma. =0A> flash"= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 **= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 ******=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 = =0A>>>>>>>>>> =A0 =A0 ******************************=0A>>>>> =A0 ********= ********************** ******************************=0A>>>>> =A0 ********= ********************** *********************=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 ******=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *=0A= >>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 FAT: =0A> 2108463 Bytes=0A>>>>= >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 read=0A>>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # =0A> bootm=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 0x80001100=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 ## =0A> Booting image at=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 80001100 ...=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 Image =0A> Name:=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 F= reeBSD=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Image =0A> Typ= e:=0A>>> MIPS=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Linux K= ernel Image (lzma=0A>>>>>>>>>> =A0 =A0 compressed)=0A>>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Data =0A> Size:=0A>>>>>> =A0 =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 =A0 Load =0A> Address:=0A>>>>>> =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 Entry =0A> Point:=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =0A> Verifying=0A>>> Checksum=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 ... OK=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =0A> Uncompressing=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= Kernel Image ...=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 At this = =0A> point=0A>>> nothing=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 happens and console hangs -=0A>>>>>>>>>> =A0 =A0 note in=0A>>>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A> OMEGA2.dtsithe=0A>>> console=0A>>>>>= > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is set to ttyS0:=0A>>>>>>>>>>= >>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bootargs =0A> =3D=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "console=3DttyS0,115200";=0A>>>>>>>>>>>>>>>= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 I have =0A> also tried=0A>= >> with=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 just kernel.M= T7628_FDT and=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>> kernel.= MT7628_FDT.lzma=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 but bo= th fail:=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # =0A> fatlo= ad=0A>>> usb=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0:1 0x80= 001100=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> /kernel.MT7628_FDT.lzma.uImage= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Read= ing =0A> file=0A>>>>>>>>>> =A0 =A0 "/kernel.MT7628_FDT.lzma. =0A> uImage"= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 **=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 **= =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ******=0A>>>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>> =A0 =A0 ****************************= **=0A>>>>> =A0 ****************************** ****************************= **=0A>>>>> =A0 ****************************** ******=0A>>>>>>>>>>>>>>> =A0= =A0 =A0 =A0 =A0 =A0 =A0 =0A> **********=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 *=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 FAT: =0A> 136= 5186 Bytes=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 read=0A>>>>= >>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Omega2 # =0A> bootm=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0x80001100=0A>>>>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 ## =0A> Booting image at=0A>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 80001100 ...=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 Image =0A> Name:=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 FreeBSD=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 Image =0A> Type:=0A>>> MIPS=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 Linux Kernel Image (lzma=0A>>>>>>>>>> =A0 =A0 compressed)=0A>>= >>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Data =0A> Size:=0A>>>>>> = =A0 =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 =A0 Load =0A> Address:=0A>>>= >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Entry =0A> Point:=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fffffff2=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =0A> Verifying=0A>>> Checksum=0A>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 ... OK=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =0A> Uncompressing=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 Kernel Image ...=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= A few =0A> comments on=0A>>> the=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 hardware for anyone who wants=0A>>>>>>>>>> =A0 =A0 to get= =0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 one:=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 Get the =0A> expansion=0A>>> dock=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 with serial port access -=0A>>>>>>>>>> =A0 =A0 the= power=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 dock=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 does not =0A> provide=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 serial access - i think it is=0A>>>>>>>>>> =A0 =A0 possib= le to=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 use an=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 ftdi ttl =0A> serial=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 chip/cable but have not tried.=0A>>>>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 Stupidly =0A> I forgot=0A>>> this=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 only has wifi access so you=0A>>>>>>>>>= > =A0 =A0 are not=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 able to=0A>>>>>>>>>>>>>>>= =A0 =A0 =A0 =A0 =A0 =A0 =A0 tftp boot =0A> this=0A>>> without=0A>>>>>> = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 getting the ethernet network=0A= >>>>>>>>>> =A0 =A0 expansion=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 but=0A>>>>>>>>= >>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 loading =0A> stuff up=0A>>> from=0A>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 a usb memory stick is seem= =0A>>>>>>>>>> =A0 =A0 fine from=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 u-boot.=0A>= >>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 I do not =0A> think that=0A>>> = it=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is possible to boo= t from the=0A>>>>>>>>>> =A0 =A0 SD card=0A>>>>>>>>>>>> =A0 =A0 =A0 =A0 on = the=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Omega2+ - =0A> which is= =0A>>> a=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 shame.=0A>>>= >>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Thanks =0A> for reading,=0A>>>>>>= >>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Mike.=0A>>>>>>>>>= >>>>>> =0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0= =A0 =A0 =A0 =A0 =0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ____= __________________________ =0A> _________________=0A>>>>>>>>>>>>>>> =A0 =A0= =A0 =A0 =A0 =A0 =A0 =0A>>> freebsd-mips@freebsd.org=0A>>>>>>>>>>>> =A0 = =A0 =A0 =A0 =0A> >> org>mailing=0A>>>>>>>= >>>>>>> =A0 =A0 =A0 =A0 list=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A= >>>>>>>>>> =A0 =A0 https://lists.freebsd.org/=0A>>> mailman/listinfo/freeb= sd-mips=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>>>>>>>>> =A0 =A0 = =A0 =A0 =0A> >>>> =A0 mailman/listinfo/free= bsd-mips>=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 To =0A> unsubscrib= e,=0A>>> send=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 any mai= l to=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =0A>>>>> =A0 "freebsd-m= ips-unsubscribe@ freebsd.org=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =0A>= >>>>>>>>> =A0 =A0 >> unsubscribe@freebsd.org>"= =0A>>>>>>>>>>>>>>> =0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 --=0A>>>>>>>>>>>= >>>> =A0 =A0 =A0 =A0 =A0 WBW=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 ------= -=0A>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =A0 Rybalko =0A> Aleksandr=0A>>>>> =A0= >>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> >=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A>>> ______________________________= =0A>>>>> =A0 _________________=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A> freeb= sd-mips@freebsd.org=0A>>> mailing list=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 = =0A> https://lists.freebsd.org/=0A>>>>> =A0 mailman/listinfo/freebsd-mips= =0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 To unsubscribe, =0A> send any mail=0A>>>= to=0A>>>>>>>>>>>>>> =A0 =A0 =A0 =A0 =0A>>> "freebsd-mips-unsubscribe@=0A= >>>>> =A0 freebsd.org"=0A>>>>>>>>> =A0 =A0 ______________________________= =0A> _________________=0A>>>>>>>>> =A0 =A0 freebsd-mips@freebsd.org mailin= g list=0A>>>>>>>>> =A0 =A0 https://lists.freebsd.org/=0A>>> mailman/listin= fo/freebsd-mips=0A>>>>>>>>> =A0 =A0 To unsubscribe, send any mail to=0A>>>= >> =A0 "freebsd-mips-unsubscribe@ freebsd.org"=0A>>>>>>>> =A0 =A0 --=0A>>= >>>>>> =0A>>>>>>>> =A0 =A0 WBW=0A>>>>>>>> =A0 =A0 -------=0A>>>>>>>> =A0 = =A0 Rybalko Aleksandr =0A>>>>>>>> =0A>>>>>>>> =0A>