Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2017 23:07:13 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        Mike Wolman <mike@wolman.co.uk>, Aleksandr Rybalko <ray@ddteam.net>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: onion omega2+
Message-ID:  <541011.41820.qm@web101719.mail.ssk.yahoo.co.jp>
In-Reply-To: <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk>
References:  <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <CAJ1Oi8G%2BvTMBX4Ey=H=2WruXDjXjcyte5_n8T3VDdL=h8m7%2BVw@mail.gmail.com> <e92bc818-485f-d9fc-da2b-776bae2b0916@wolman.co.uk> <410144.69078.qm@web101716.mail.ssk.yahoo.co.jp> <fda8b792-f6c4-d0fb-5a99-d190cc3a4f39@wolman.co.uk> <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> <CAJ1Oi8Hemuug5JRP9btUgs-MmCFgb-_qS0qrEW7h=BhPAYXpFQ@mail.gmail.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mike@wo=
lman.co.uk>=0A> To: Mori Hiroki <yamori813@yahoo.co.jp>; Aleksandr Rybalko =
<ray@ddteam.net>=0A> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.o=
rg>=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 <interface> <dev[:part]>=A0 <addr> <filename>=
 =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 <yamori813@yahoo.co.jp>; Aleksand=
r Rybalko =0A> <ray@ddteam.net>=0A>>>  Cc: "freebsd-mips@freebsd.org" =0A> =
<freebsd-mips@freebsd.org>=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 <mike@wolman.co.uk>=0A>>>>> =A0  To: Aleksandr Rybalko <ray@d=
dteam.net>; Mori Hiroki=0A>>>  <yamori813@yahoo.co.jp>=0A>>>>> =A0  Cc: "fr=
eebsd-mips@freebsd.org"=0A>>>  <freebsd-mips@freebsd.org>=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>>>  <yamori813@yahoo.co.jp>:=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 <mike@wolman.co.uk>=0A>>>>>>>> =A0  To: Mori Hiro=
ki <yamori813@yahoo.co.jp>;=0A>>>  "freebsd-mips@freebsd.org" <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> <mike@wolman.co.uk>=0A>>>>>>>>>> =A0 =A0 =A0=
 To: Mori Hiroki =0A> <yamori813@yahoo.co.jp>;=0A>>>>>>>> =A0  "freebsd-mip=
s@freebsd.org"=0A>>>  <freebsd-mips@freebsd.org>=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>>>  <mike@wolman.co.uk>=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  <mike@wolman.co.uk=0A>>>>>>>>>=
>>>> =A0 =A0 =A0 =A0 =0A>>>  <mailto:mike@wolman.co.uk>>:=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 <http://community.onion.io/=0A>>>;  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  <https://raw. githubusercontent.com/=0A>>>  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  <https://raw. githubusercontent.com/=0A>>>  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  <https:/=
/raw. githubusercontent.com/=0A>>>  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 <mailto:freebsd-=
mips@freebsd. =0A> 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 <https://lists.freebsd.org/=0A>>>;  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  <mailto:freebsd-mips- =0A>=
 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>>>  <ray@ddteam.net=0A>>>>>>>>>> =A0 =A0 =A0 <mailto:ray@ddteam.net>>=
=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 <ray@ddteam.net>=0A>>>>>> =0A>>>>>> =0A>>=
>>> =0A> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541011.41820.qm>