Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 10:16:29 +0300
From:      Stanislav Galabov <sgalabov@gmail.com>
To:        Mike Wolman <mike@wolman.co.uk>
Cc:        Stanislav Galabov <sgalabov@gmail.com>, Mori Hiroki <yamori813@yahoo.co.jp>, Aleksandr Rybalko <ray@ddteam.net>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: onion omega2+
Message-ID:  <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com>
In-Reply-To: <8b21a15c-3af8-bdba-cc70-6bd0e3a65f39@wolman.co.uk>
References:  <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <541011.41820.qm@web101719.mail.ssk.yahoo.co.jp> <672be258-8fed-6317-1325-f9fccf2646c3@wolman.co.uk> <369335.16286.qm@web101716.mail.ssk.yahoo.co.jp> <711a889d-9701-2441-5c9c-98e0ac607ffb@wolman.co.uk> <456721.9572.qm@web101705.mail.ssk.yahoo.co.jp> <8b21a15c-3af8-bdba-cc70-6bd0e3a65f39@wolman.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mike,

Please try setting both the Load Address and the Entry Point to the same =
value as you see as Entry point address by using 'readelf -h=E2=80=99 =
and try booting again.
In your case this would seem to be 0x80001100.

Please leave all dts/dtsi files unchanged (as they originally were) for =
now.

Best wishes,
Stanislav

> On May 10, 2017, at 04:33, Mike Wolman <mike@wolman.co.uk> wrote:
>=20
>=20
> I have just tried with clock-frequency change in the 3 places it =
appears in mt7628an.dtsi
>=20
> But again some thing:
>=20
> Omega2 # bootm 0x80800000
> ## Booting image at 80800000 ...
>   Image Name:   FreeBSD
>   Image Type:   MIPS Linux Kernel Image (uncompressed)
>   Data Size:    5654760 Bytes =3D  5.4 MB
>   Load Address: 80001000
>   Entry Point:  80001100
>   Verifying Checksum ... OK
> OK
> No initrd
> ## Transferring control to Linux (at address 80001100) ...
> ## Giving linux memsize in MB, 128
>=20
> Starting kernel ...
>=20
>=20
> Note: When building kernel i see:
>=20
> --------------------------------------------------------------
> >>> stage 3.1: building everything
> --------------------------------------------------------------
> converting OMEGA2P.dts -> =
/usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s=
ys/MT7628_FDT/OMEGA2P.dtb
> =
/usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s=
ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node =
/cpus/cpu@0 has a unit name, but no reg property
> =
/usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s=
ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node =
/cpuintc@0 has a unit name, but no reg property
> =
/usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s=
ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node =
/pcie@10140000/pcie-bridge has a reg or ranges property, but no unit =
name
>=20
> Are these just warnings which can be ignored or could they be part of =
the problem?
>=20
>=20
>=20
> On 10/05/2017 01:50, Mori Hiroki wrote:
>> Hi mike
>>=20
>> I last idea is uartlite clock-frequency miss.
>>=20
>>                         clock-frequency =3D <50000000>;
>>=20
>> But I don't know correct value.
>>=20
>>=20
>>=20
>> ----- Original Message -----
>>> From: Mike Wolman <mike@wolman.co.uk>
>>> To: Mori Hiroki <yamori813@yahoo.co.jp>; Aleksandr Rybalko =
<ray@ddteam.net>
>>> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
>>> Date: 2017/5/10, Wed 09:01
>>> Subject: Re: onion omega2+
>>>=20
>>>=20
>>> The new kernel with
>>>=20
>>> device          uart_ns8250
>>>=20
>>> didnt work
>>>=20
>>> On 10/05/2017 00:05, Mori Hiroki wrote:
>>>>  Hi Mike.
>>>>=20
>>>>  I seem load address is good.
>>>>=20
>>>>  I check mt7628an.dtsi file.
>>>>=20
>>>>  This file uart entry is
>>>>=20
>>>>                   uartlite: uartlite@c00 {
>>>>                           compatible =3D "ns16550a";
>>>>  In this case you must add uart_ns8250 device to kernel =
configuration.
>>>>=20
> _______________________________________________
> freebsd-mips@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to =
"freebsd-mips-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05065E4E-1D0F-49DE-B14D-D45ECCEA251F>