From owner-freebsd-mips@freebsd.org Tue May 9 04:05:53 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 6DBD3D658CA for ; Tue, 9 May 2017 04:05:53 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm3.bullet.mail.kks.yahoo.co.jp (nh501-vm3.bullet.mail.kks.yahoo.co.jp [183.79.56.133]) by mx1.freebsd.org (Postfix) with SMTP id AC62214C1 for ; Tue, 9 May 2017 04:05:52 +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 04:03:56 -0000 Received: from [183.79.100.136] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 04:03:56 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 09 May 2017 04:03:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 954900.77202.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 80418 invoked by uid 60001); 9 May 2017 04:03:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1494302636; bh=GY93ft+nRJTByTGe9YDnhBykZYWw1QyEsRwHhS3Rbfc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UdupNuZa4u7AJCY8gZz1ETrNMNDO4iKlXx/Q7HHqHsD83ilPTj68qW0+pdnaiIrfBkUiPXTwmj5j82owQLne+pRJbYqcuGh5tGS60q1sqFp62MxuiDoc0ZjgTVcvRJeUxHN8UI4UO4us5o/2/n5CHhzxGHn5tCbjzOrC+pngkfQ= 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:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=atzOXE7CvUrPWJ2EIFvMAWvtdd5Mly1rHUq6ABsU4SJFQvZlxqWX8bChik4MdsNKgAn/6+t/zziH+VxztsOa4nUrVViBcQIiKiLMJPXgpCTV2CrTttCHC9XANeTjmShBY5gpmkRCZpDs54TSzHhLNp1wLgUnOrNLkaFFQ7/IY80=; Message-ID: <651873.78746.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: _DXNguUVM1l4YcDixLsmgIf.IFDx6ecxR_50gdbtN3.jhCIQj_cPPMuxU87TXsPq25zOgId0FPrLnH_nIVH.qmVIsl84NBn.dXKQsEAOeYNzS6hJEFxUrRSpS61GzoJmz8qm5MAs16r5WwUmaeCcxMjA86yaWVaV.oM0eq_jMUQQ_TUedmf3k.fD2QPf3JUDcl93AjmpgPZS2KHBNsZbR4zxxwbYdZgnJUtudJeEBxJiam9X41iaBEBf23_8YfeG4gAMbkLFtyizhy.1hKwQL4r9GXywyWOIfiFcDp_D5FLDFA0C544zKD6R6nwZNgDPQuUkEaMcitipEgfGe95cydHZaJq0dlb_OFAfxdgYRiAfbcflrqNpXf7slZHUTwaUkLx0pK5eE9ek_oBmrjKRMFWFETols2X8k9ADChC9foS1Aql9C318Ob8P4WhZDhh9dzk0BKkfR7qTwPiUI9fGSXtgGct7B68GA7vf.1qzDcCw9fVWWTOrf0Dmg1V5VYYjl05iY2e718xG4xFEMeCGf8W35aVQ17NzIh3DwJkZAqSvEKG427wNVm5IklOFVPF.XrG.FXo0gQTR.HMfyxyyCgaw_lNKkpEOmB8sPmrtL4.fEZ.cBDPL Received: from [210.20.198.8] by web101702.mail.ssk.yahoo.co.jp via HTTP; Tue, 09 May 2017 13:03:55 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: TzZB2xwVM1lyFSD_YS7JZTvAJlfIVwgWZcb8RhovAUYefvw95_l_0eNsR9I0ieVjQESDbHMNmyOvf.FBgMcTe4H84Bj6x3UpCsoZd7paAMB2UE8DDVIWydXYvFrg6cC_RS9Q 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> Date: Tue, 9 May 2017 13:03:55 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: onion omega2+ To: Mike Wolman , "freebsd-mips@freebsd.org" In-Reply-To: <2d555385-8258-fd75-e4a3-a1e59bf86314@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 04:05:53 -0000 Hi Mike=0A=0ACould you show u-boot printenv command result.=0A=0AThanks=0A= =0A=0A----- Original Message -----=0A> From: Mike Wolman =0A> To: Mori Hiroki ; "freebsd-mips@freebsd.org" <= freebsd-mips@freebsd.org>=0A> Cc: =0A> Date: 2017/5/9, Tue 10:30=0A> Subjec= t: Re: onion omega2+=0A> =0A> Hi Mori,=0A> =0A> When I compiled the world/k= ernel etc I used:=0A> =0A> X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3DMT7628_FDT = =0A> ../freebsd-wifi-build/build/bin/build ralink buildkernel=0A> =0A> I ch= ecked the serial stuff was the same as the other configs in: =0A> https://g= ithub.com/freebsd/freebsd-wifi-build/=0A> and they looked the same.=0A> =0A= > The OMEGA2.dtsi file has:=0A> =0A> =A0 =A0 =A0 =A0 chosen {=0A> =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 bootargs =3D "console=3DttyS0,115200";=0A> =A0 =A0= =A0 =A0 };=0A> =0A> =0A> And mt7628an.dtsi has:=A0 serial0 =3D &uartlite= ;=0A> =0A> I dont think im getting as far as worrying about the serial cons= ole at =0A> the moment and need to get the kernel to uncompress first.=0A> = =0A> Mike.=0A> =0A> =0A> On 09/05/2017 02:20, Mori Hiroki wrote:=0A>> Hi M= ike=0A>> =0A>> In FreeBSD is use serial0 dts item to console.=0A>> =0A>> = I think good to use this at start.=0A>> =0A>> freebsd/sys/gnu/dts/mips/MT7= 628.dts=0A>> =0A>> ----- Original Message -----=0A>>> From: Mike Wolman <= mike@wolman.co.uk>=0A>>> To: Mori Hiroki ; =0A> "fr= eebsd-mips@freebsd.org" =0A>>> Cc:=0A>>> Date: = 2017/5/9, Tue 09:25=0A>>> Subject: Re: onion omega2+=0A>>> =0A>>> Hi Mori= ,=0A>>> =0A>>> I grabbed the dts files from:=0A>>> =0A>>> https://github.= com/WereCatf/source/tree/image/target/linux/ramips/dts=0A>>> =0A> https://g= ithub.com/WereCatf/source/blob/image/target/linux/ramips/dts/OMEGA2P.dts=0A= >>> =0A> https://github.com/WereCatf/source/blob/image/target/linux/ramips/= dts/OMEGA2.dtsi=0A>>> =0A>>> If this is of any use from the default linux = install on the flash:=0A>>> =0A>>> root@Omega-12BF:/proc# cat /proc/mtd=0A= >>> dev:=A0 =A0 size=A0 erasesize=A0 name=0A>>> mtd0: 00030000 00010000 = "u-boot"=0A>>> mtd1: 00010000 00010000 "u-boot-env"=0A>>> mtd2: 00010000 = 00010000 "factory"=0A>>> mtd3: 01fb0000 00010000 "firmware"=0A>>> mtd4: 0= 0148842 00010000 "kernel"=0A>>> mtd5: 01e677be 00010000 "rootfs"=0A>>> mt= d6: 01950000 00010000 "rootfs_data"=0A>>> =0A>>> =0A>>> btw after posting = i spotted and error in what i did with:=0A>>> =0A>>> mkimage -A mips -O li= nux -T kernel -C lzma \=0A>>> =A0 =A0 =A0 -a 0x80001000 -e 0x80001100 \=0A>= >> =A0 =A0 =A0 -n "FreeBSD" -d kernel.MT7628_FDT.lzma=0A>>> kernel.MT7628_= FDT.ulzma.uImage=0A>>> =0A>>> I have redone this using the correct compres= sed kernel ie:=0A>>> =0A>>> mkimage -A mips -O linux -T kernel -C lzma \= =0A>>> =A0 =A0 =A0 -a 0x80001000 -e 0x80001100 \=0A>>> =A0 =A0 =A0 -n "Free= BSD" -d kernel.MT7628_FDT.ulzma=0A>>> kernel.MT7628_FDT.ulzma.uImage=0A>>>= =0A>>> =0A>>> But this didnt work.=0A>>> =0A>>> =0A>>> =0A>>> On 09/05/2= 017 01:17, Mori Hiroki wrote:=0A>>>> =A0 Hi.=0A>>>> =0A>>>> =A0 I think i= f U-Boot work memory make broken then=0A>>>> =A0 Uncompressing Kernel Imag= e is NG.=0A>>>> =0A>>>> =A0 Some ARM U-Boot is use top address in work mem= ory.=0A>>>> =A0 If this case your kernel start address to move to=0A>>>> = =A0 after work memory. But I never see in MIPS.=0A>>>> =0A>>>> =A0 And Wh= at is set FDT_DTS_FILE=A0 in your kernel configuration ?=0A>>>> =0A>>>> =A0= ----- Original Message -----=0A>>>> =0A>>>>> =A0 From: Mike Wolman =0A>>>>> =A0 To: freebsd-mips@freebsd.org=0A>>>>> =A0 Cc:= =0A>>>>> =A0 Date: 2017/5/9, Tue 07:48=0A>>>>> =A0 Subject: Re: onion ome= ga2+=0A>>>>> =0A>>>>> =0A>>>>> =A0 More info in case anyone can point me i= n the right direction.=0A>>>>> =0A>>>>> =A0 I have found:=0A>>>>> =0A>>>>>= =A0 https://forum.openwrt.org/viewtopic.php?id=3D53865=0A>>>>> =0A>>>>> = =A0 I have tried changing how lzma compresses the kernel by =0A> adding -d= 20 to=0A>>>>> =A0 the build scripts eg:=0A>>>>> =0A>>>>> =A0 /usr/local/b= in/lzma e=0A>>>>> =A0 =0A> /home/mike/omega2/src/../root/mipsel_ap/boot/ker= nel.MT7628_FDT/kernel=0A>>> \=0A>>>>> =A0 /home/mike/omega2/src/../tftpbo= ot/kernel.MT7628_FDT.lzma -d20=0A>>>>> =0A>>>>> =A0 This did not work.=0A>= >>>> =0A>>>>> =0A>>>>> =A0 Looking at the onion omega conf I see that it u= ses mkuzip and =0A> not lzma=0A>>>>> =A0 with the following settings:=0A>>= >>> =0A>>>>> =A0 X_FSIMAGE_CMD=3D"mkuzip"=0A>>>>> =A0 X_FSIMAGE_ARGS=3D"-= L -d -s 65536 -v"=0A>>>>> =A0 X_FSIMAGE_SUFFIX=3D".ulzma"=0A>>>>> =0A>>>>>= =A0 So tried the following:=0A>>>>> =0A>>>>> =A0 mkuzip -L -d -s 65536 -= v -o kernel.MT7628_FDT.ulzma =0A> kernel.MT7628_FDT=0A>>>>> =0A>>>>> =A0 m= kimage -A mips -O linux -T kernel -C lzma \=0A>>>>> =A0 =A0 =A0 -a 0x80001= 000 -e 0x80001100 \=0A>>>>> =A0 =A0 =A0 -n "FreeBSD" -d kernel.MT7628_FDT.= lzma=0A>>>>> =A0 kernel.MT7628_FDT.ulzma.uImage=0A>>>>> =0A>>>>> =0A>>>>> = =A0 But this did not work either.=0A>>>>> =0A>>>>> =0A>>>>> =0A>>>>> =A0 = On 08/05/2017 19:41, Aleksandr Rybalko wrote:=0A>>>>>> =A0 =A0 Hi Mike!=0A= >>>>>> =0A>>>>>> =A0 =A0 I see you have no "OK" after =0A> "Uncompressing = Kernel=0A>>> Image=0A>>>>> =A0 ...", so=0A>>>>>> =A0 =A0 first point ubo= ot decompressor fail.=0A>>>>>> =A0 =A0 Why fail? Because you have wrong ba= se address in image:=0A>>>>>> =A0 =A0 =A0 Load Address: fffffff2=0A>>>>>> = =A0 =A0 =A0 Entry Point:=A0 fffffff2=0A>>>>>> =A0 =A0 MIPS32 machines hav= e RAM mapped to 0x80000000 address, =0A> so adding=0A>>> its=0A>>>>>> =A0 = =A0 size, you will get max address (if 16MB, it will be =0A> 0x81000000),= =0A>>> but=0A>>>>>> =A0 =A0 you uboot image was created with 0xfffffff2.= =0A>>>>>> =0A>>>>>> =A0 =A0 Even more, unpacked kernel expects it will be = called at=0A>>> 0x80001100. so=0A>>>>>> =A0 =A0 if you have ELF kernel (f= ile with ELF header, like =0A> every=0A>>> executable)=0A>>>>>> =A0 =A0 t= hat file have to be loaded at (0x80001100 - =0A> ELF_HEADER_SIZE).=0A>>>>>>= =A0 =A0 In most cases it will be 0x80001100 - 0x100 =3D =0A> 0x80001000. = But=0A>>> sometime=0A>>>>>> =A0 =A0 (I did not found why) it can be 0x20,= you can find it =0A> by looking=0A>>> at=0A>>>>>> =A0 =A0 .text section = in readelf -S.=0A>>>>>> =0A>>>>>> =A0 =A0 So if you have kernel with entry= point 0x80001100 and =0A> .text=0A>>> segment=0A>>>>>> =A0 =A0 offset 0x= 100, you have to create uboot image with load =0A> address=0A>>>>>> =A0 =A0= 0x80001000 and entry point 0x80001100.=0A>>>>>> =0A>>>>>> =A0 =A0 If tha= t step successful you will get:=0A>>>>>> =A0 =A0 /Uncompressing Kernel Ima= ge/ ... OK=0A>>>>>> =A0 =A0 Starting kernel ...=0A>>>>>> =0A>>>>>> =A0 =A0= Last line mean, uboot did jump into kernel code.=0A>>>>>> =0A>>>>>> =A0 = =A0 Good luck.=0A>>>>>> =0A>>>>>> =A0 =A0 2017-05-07 18:20 GMT+03:00 Mike= Wolman =0A> >>>>> =A0 =A0 >:=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 Hi,=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 = =A0 I am trying to get FreeBSD working on this board - =0A> I think I=0A>>= > am=0A>>>>>> =A0 =A0 =A0 =A0 almost there in getting it working but need= some =0A> help please.=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 I have followed= instructions from the =0A> freebsd-wifi-build and=0A>>>>>> =A0 =A0 =A0 =A0= *think* I have got everything correct - I am trying =0A> to do=0A>>> thi= s on=0A>>>>>> =A0 =A0 =A0 =A0 a CURRENT setup:=0A>>>>>> =0A>>>>>> =A0 =A0 = =A0 =A0 FreeBSD f64-current.mw.office 12.0-CURRENT FreeBSD=0A>>> 12.0-CUR= RENT #0=0A>>>>>> =A0 =A0 =A0 =A0 r317887: Sun May=A0 7 03:20:34 UTC 2017= =0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> mike@f64-current.mw.office:/usr/obj/usr/s= rc/sys/GENERIC-NODEBUG amd64=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 $ cat ~/.f= reebsd-wifi-build-settings.cfg=0A>>>>>> =A0 =A0 =A0 =A0 X_SKIP_MORE_STUFF= =3DYES=0A>>>>>> =A0 =A0 =A0 =A0 X_EXTRA_SRC_CONF=3D~/omega2/src.conf=0A>>>= >>> =0A>>>>>> =A0 =A0 =A0 =A0 $ cat ~/omega2/src.conf=0A>>>>>> =A0 =A0 =A0= =A0 WITHOUT_CLANG=3DYES=0A>>>>>> =A0 =A0 =A0 =A0 WITHOUT_CLANG_FULL=3DYE= S=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 get dts files from thread=0A>>>>>> = =A0 =A0 =A0 =A0 =0A> http://community.onion.io/topic/1099/openwrt-on-the-om= ega-2/8=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 cd ~/omeg= a2/src/sys/gnu/dts/mips=0A>>>>>> =A0 =A0 =A0 =A0 fetch=0A>>>>>> =A0 =A0 = =A0 =A0 =0A>>> =0A> https://raw.githubusercontent.com/WereCatf/source/image= /target/linux/ramips/dts/OMEGA2.dtsi=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A> <= https://raw.githubusercontent.com/WereCatf/source/image/target/linux/ramips= /dts/OMEGA2.dtsi>=0A>>>>>> =A0 =A0 =A0 =A0 fetch=0A>>>>>> =A0 =A0 =A0 =A0 = =0A>>> =0A> https://raw.githubusercontent.com/WereCatf/source/image/target/= linux/ramips/dts/OMEGA2.dts=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A> =0A>>>>>> =A0 =A0 =A0 =A0 fetch=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A= > https://raw.githubusercontent.com/WereCatf/source/image/target/linux/rami= ps/dts/OMEGA2P.dts=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A> = =0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3DMT7628_FDT= =0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/bin/build ralink =0A= > buildworld=0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3D= MT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/bin/build = ralink =0A> buildkernel=0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts = KERNCONF=3DMT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build= /bin/build ralink =0A> installworld=0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3D= OMEGA2P.dts KERNCONF=3DMT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi= -build/build/bin/build ralink =0A> installkernel=0A>>>>>> =A0 =A0 =A0 =A0 = X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3DMT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ..= /freebsd-wifi-build/build/bin/build ralink =0A> distribution=0A>>>>>> =0A>>= >>>> =0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3DMT7628_= FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/bin/build ralink = =0A> mfsroot=0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts KERNCONF=3D= MT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/bin/build = ralink =0A> fsimage=0A>>>>>> =A0 =A0 =A0 =A0 X_DTS_FILE=3DOMEGA2P.dts KERN= CONF=3DMT7628_FDT=0A>>>>>> =A0 =A0 =A0 =A0 ../freebsd-wifi-build/build/bin= /build ralink uboot=0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 Create fl= ash:=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 X_FLASH=3Dkernel.MT7628_FDT.lzma.f= lash=0A>>>>>> =A0 =A0 =A0 =A0 dd if=3D/dev/zero bs=3D$(( 0x200000 )) count= =3D1 =0A> of=3D${X_FLASH}=0A>>>>>> =A0 =A0 =A0 =A0 dd if=3Dkernel.MT7628_F= DT.lzma.uImage of=3D${X_FLASH}=0A>>> conv=3Dnotrunc=0A>>>>>> =A0 =A0 =A0 = =A0 dd if=3D mfsroot-ralink.img.lzma >> ${X_FLASH}=0A>>>>>> =0A>>>>>> =0A>= >>>>> =A0 =A0 =A0 =A0 $ readelf -h kernel.MT7628_FDT | grep Entry=0A>>>>>>= =A0 =A0 =A0 =A0 =A0 Entry point address:=A0 =A0 =A0 =A0 =A0 =A0 =A0 0x80= 001100=0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 No= w on the omega over serial - I didnt get the =0A> network=0A>>> expansion= =0A>>>>>> =A0 =A0 =A0 =A0 doc thing so am doing stuff with usb rather than= =0A> tftp=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 I am not 100% sure about the= 0x80001100 and the =0A> fatload and=0A>>> have=0A>>>>>> =A0 =A0 =A0 =A0 = tried this=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 Omega2 # fatload usb 0:1 0x8= 0001100=0A>>> /kernel.MT7628_FDT.lzma.flash=0A>>>>>> =A0 =A0 =A0 =A0 *=0A= >>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0 =A0 Reading file =0A> "/ker= nel.MT7628_FDT.lzma.flash"=0A>>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0= =A0 **=0A>>>>>> =A0 =A0 =A0 =A0 **=0A>>>>>> =A0 =A0 =A0 =A0 **=0A>>>>>>= =A0 =A0 =A0 =A0 ******=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A> *************= ***************************************************************************= *****************************************************=0A>>>>>> =A0 =A0 =A0 = =A0 ******=0A>>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0 =A0 FAT: 2108= 463 Bytes read=0A>>>>>> =A0 =A0 =A0 =A0 Omega2 # bootm 0x80001100=0A>>>>>>= =A0 =A0 =A0 =A0 ## Booting image at 80001100 ...=0A>>>>>> =A0 =A0 =A0 =A0= =A0 =A0 Image Name:=A0 FreeBSD=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Image Typ= e:=A0 MIPS Linux Kernel Image (lzma =0A> compressed)=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 Data Size:=A0 =A0 1365122 Bytes =3D=A0 1.3 MB=0A>>>>>> =A0 =A0 = =A0 =A0 =A0 =A0 Load Address: fffffff2=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Ent= ry Point:=A0 fffffff2=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Verifying Checksum .= .. OK=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Uncompressing Kernel Image ...=0A>>>= >>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 At this point nothing happens and = console hangs - =0A> note in=0A>>>>>> =A0 =A0 =A0 =A0 OMEGA2.dtsithe conso= le is set to ttyS0:=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 bootargs =3D "conso= le=3DttyS0,115200";=0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 = =A0 =A0 =A0 I have also tried with just kernel.MT7628_FDT and=0A>>>>>> =A0= =A0 =A0 =A0 kernel.MT7628_FDT.lzma but both fail:=0A>>>>>> =0A>>>>>> =A0 = =A0 =A0 =A0 Omega2 # fatload usb 0:1 0x80001100=0A>>> /kernel.MT7628_FDT.= lzma.uImage=0A>>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>= > =A0 =A0 =A0 =A0 Reading file =0A> "/kernel.MT7628_FDT.lzma.uImage"=0A>>>= >>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0 =A0 **=0A>>>>>> =A0 =A0 =A0 = =A0 **=0A>>>>>> =A0 =A0 =A0 =A0 ******=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> = =0A> **********************************************************************= ********************************************************=0A>>>>>> =A0 =A0 = =A0 =A0 **********=0A>>>>>> =A0 =A0 =A0 =A0 *=0A>>>>>> =A0 =A0 =A0 =A0 F= AT: 1365186 Bytes read=0A>>>>>> =A0 =A0 =A0 =A0 Omega2 # bootm 0x80001100= =0A>>>>>> =A0 =A0 =A0 =A0 ## Booting image at 80001100 ...=0A>>>>>> =A0 = =A0 =A0 =A0 =A0 =A0 Image Name:=A0 FreeBSD=0A>>>>>> =A0 =A0 =A0 =A0 =A0 = =A0 Image Type:=A0 MIPS Linux Kernel Image (lzma =0A> compressed)=0A>>>>>>= =A0 =A0 =A0 =A0 =A0 =A0 Data Size:=A0 =A0 1365122 Bytes =3D=A0 1.3 MB=0A>>= >>>> =A0 =A0 =A0 =A0 =A0 =A0 Load Address: fffffff2=0A>>>>>> =A0 =A0 =A0 = =A0 =A0 =A0 Entry Point:=A0 fffffff2=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Verif= ying Checksum ... OK=0A>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 Uncompressing Kernel = Image ...=0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 A few comments on t= he hardware for anyone who wants =0A> to get=0A>>> one:=0A>>>>>> =A0 =A0 = =A0 =A0 Get the expansion dock with serial port access - =0A> the power=0A= >>> dock=0A>>>>>> =A0 =A0 =A0 =A0 does not provide serial access - i thin= k it is =0A> possible to=0A>>> use an=0A>>>>>> =A0 =A0 =A0 =A0 ftdi ttl s= erial chip/cable but have not tried.=0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 St= upidly I forgot this only has wifi access so you =0A> are not=0A>>> able t= o=0A>>>>>> =A0 =A0 =A0 =A0 tftp boot this without getting the ethernet net= work =0A> expansion=0A>>> but=0A>>>>>> =A0 =A0 =A0 =A0 loading stuff up f= rom a usb memory stick is seem =0A> fine from=0A>>> u-boot.=0A>>>>>> =A0 = =A0 =A0 =A0 I do not think that it is possible to boot from the =0A> SD ca= rd=0A>>> on the=0A>>>>>> =A0 =A0 =A0 =A0 Omega2+ - which is a shame.=0A>>= >>>> =0A>>>>>> =A0 =A0 =A0 =A0 Thanks for reading,=0A>>>>>> =0A>>>>>> =A0 = =A0 =A0 =A0 Mike.=0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 =A0 =A0 = _______________________________________________=0A>>>>>> =A0 =A0 =A0 =A0 fr= eebsd-mips@freebsd.org=0A>>> mailing=0A>>= >>> =A0 list=0A>>>>>> =A0 =A0 =A0 =A0 =0A> https://lists.freebsd.org/mailm= an/listinfo/freebsd-mips=0A>>>>>> =A0 =A0 =A0 =A0 =0A>>> =0A>>>>>> =A0 =A0 =A0 =A0 To unsub= scribe, send any mail to=0A>>>>>> =A0 =A0 =A0 =A0 "freebsd-mips-unsubscrib= e@freebsd.org=0A>>>>>> =A0 =A0 =A0 =A0 =0A> "=0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =A0 =A0 -= -=0A>>>>>> =A0 =A0 WBW=0A>>>>>> =A0 =A0 -------=0A>>>>>> =A0 =A0 Rybalko= Aleksandr >> >=0A>>>>> =A0 ___= ____________________________________________=0A>>>>> =A0 freebsd-mips@freeb= sd.org mailing list=0A>>>>> =A0 https://lists.freebsd.org/mailman/listinfo/= freebsd-mips=0A>>>>> =A0 To unsubscribe, send any mail to=0A>>>>> =A0 "fr= eebsd-mips-unsubscribe@freebsd.org"=0A>>>>> =0A>