Re: [PATCH 3/5] arm: initial support for Marvell Dove SoCs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/12/2013 07:19 PM, Thomas Petazzoni wrote:
Dear Sebastian Hesselbarth,

On Sun, 12 May 2013 18:51:46 +0200, Sebastian Hesselbarth wrote:

How does the remapping of the registers plays with the debug_ll code in
arch/arm/mach-mvebu/include/mach/debug_ll.h, which assumes the UART is
at 0xd0012000 ?

Thomas, currently it does not play with debug_ll. That's why I don't
remap registers yet. I rather suggest to have a pre-linux boot hook in
barebox to allow to tweak platform specific things before control is
handed over to linux kernel.

Ok. I guess we have a choice: either we do the remapping very early,
and we execute everything at 0xf1. Or we do the remapping very late
(right before jumping into Linux), and Barebox lives with 0xd0.

I'm not sure what the best way to proceed.

Well, considering that we have all .dtsi files for kirkwood and dove
at 0xf10 we could remap early but that will break compatibility with
armadas. If we remap late, it will be compatible with debug_ll from
armada but break dtsi.

We will remap by DT someday, but for now, with that basic support we
have in barebox - just stay at 0xd00.. will take a while to boot into
linux anyway.

Sebastian


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux