Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 11:14:23 +0400
From:      Stepan Dyatkovskiy <stpworld@ya.ru>
To:        Ian Lepore <ian@freebsd.org>, Aleksandr Rybalko <ray@ddteam.net>
Cc:        "freebsd-arm@FreeBSD.org" <freebsd-arm@freebsd.org>
Subject:   Re: locore.S and debugging initial stages of kernel
Message-ID:  <188111403507663@web5j.yandex.ru>
In-Reply-To: <1403308620.20883.288.camel@revolution.hippie.lan>
References:  <53A3619C.3020505@narod.ru> <776BC360-5D2F-435C-B2B0-38449D4AB56D@bsdimp.com> <1403230772.20883.281.camel@revolution.hippie.lan> <BFE35132-0A10-40E4-835A-0F35D3084F09@FreeBSD.org> <0eac2533-d4bb-4bc6-9ba1-3dae40aa4360@email.android.com> <1403308620.20883.288.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you guys!
Currently I have to stop my kernel survey.
Though I've managed to updated cross-binutils and compile (and then launch) kernel with -mcpu=cortex-a9 option.
Where I can read rules about, how to prepare and send patch to freebsd-arm community, so could share my experience?

Thanks!
-Stepan


21.06.2014, 03:57, "Ian Lepore" <ian@FreeBSD.org>:
> On Sat, 2014-06-21 at 01:18 +0300, Aleksandr Rybalko wrote:
>> šOn 20 ÞÅÒ×ÎÑ 2014 Ò. 08:23:01 GMT+03:00, Rui Paulo <rpaulo@FreeBSD.org> wrote:
>>> On Jun 19, 2014, at 19:19, Ian Lepore <ian@FreeBSD.org> wrote:
>>>> šI usually emit single chars by writing directly the console uart
>>>> šregister.
>>> I use exactly the same method, but your code looks much better. :-)
>>>
>>> --
>>> Rui Paulo
>>>
>>> _______________________________________________
>>> freebsd-arm@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>> šIs not it would be better to just load txd address, instead of ORing 2-4 times? :-D
>> šWBW
>> š------
>> šAleksandr Rybalko <ray@ddteam.net>
>
> You mean store the value in memory somewhere, and then at runtime load a
> pointer to where it's stored using only pc-relative instructions and
> then loading the actual value using the pointer? šHarder to write, the
> code added for "quick debugging" would be more scattered, and it's
> actually slower (not that performance really matters here). šIt could be
> done as a 1-liner using "=VALUE" syntax, but chances are that turns into
> mov,orr,orr. :)
>
> -- Ian
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



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