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