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

Re: [Xen-devel] [cros-discuss] Boot in Hyp mode on Samsung ARM Chromebook

On 04/14/2013 03:23 AM, Anthony PERARD wrote:
> On Sat, Apr 13, 2013 at 7:40 PM, Mike Frysinger <vapier@xxxxxxxxxxxx> wrote:
>> On Sat, Apr 13, 2013 at 1:41 PM, Chen Baozi <chenbaozi@xxxxxxxxx> wrote:
>>> Just one question about dom0's command line.
>>> The original CONFIG_CMDLINE from linux-chrome git repo is
>> don't look too much (or at all) at the default value.  it's a
>> historical artifact and we don't use it at all.
> Exactly!
> Under Xen, the command line given to dom0 is in the dts. Xen will look
> for "xen,dom0-bootargs" in the node "chosen".
> The dts: arch/arm/boot/dts/cros5250-common.dtsi
Thanks Mike & Anthony!

I changed the xen,dom0-bootargs to "console=hvc0,115200n8 console=tty1
debug root=/dev/mmcblk1p3 rw rootwait init=/bin/bash" in
arch/arm/boot/dts/cros5250-common.dtsi, and print the bootargs in
function write_properties in xen/arch/arm/domain_build.c:127. Then I
recompiled the dts & xen, 'dd' the image signed and bundled with dom0 &
dtb to the boot partition and see whether we have passed the "right"
bootargs to dom0. After rebooting and checking the log in
dmesg-ramoops-0, I did read the line printed "console=hvc0,115200n8
console=tty1 debug root=/dev/mmcblk1p3 rw rootwait init=/bin/bash".
However, everything stays the same as before.

Any ideas?


  - Baozi

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.