 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen on ARM DT based boot protocol
 On 05/23/2013 11:04 PM, Stefano Stabellini wrote: Hi, On Thu, 23 May 2013, David Vrabel wrote:On 23/05/13 13:39, Stefano Stabellini wrote: Interestingly Linux/ARM does not seem to expect a parameter to earlyprintk, the actual device to use is hardcoded in arch/arm/include/debug/<mach>.S and earlyprintk is just a switch. So earlyprintk=xen is broken anyway ;-) 
But using bootargs for Dom0 could just be a fallback, so what about:
if xen,xen-bootargs is provided: use it for Xen, else use "";
if xen,dom0-bootargs is provided: use it for Dom0, else
        if bootargs is provided: use that for Dom0
write Dom0 cmdline into chosen/bootargs in Dom0's dtb
And is there a need for the "xen," prefix? I thought that this syntax is 
only needed for the compatible property, no?
So eventually there could be one dtb to rule them all:
chosen {
        xen,xen-bootargs = "...";
        xen,dom0-bootargs = "...";
        bootargs = "...";
}
My concern is not so much about the bootloader's understanding of the 
dtb, but more about the vendor provided one, which one would expect to 
be in flash ROM, for instance. We can provide only one here.Will send a patch tomorrow. Regards, Andre. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |