Skip to contentSkip to conversation

Booting XEN on Samsung ARM Chromebook with display support

DISCUSSION Francesco Gringoli 5 participants 8 messages Feb 14, 2014 – Feb 18, 2014

lore
Share & tools
lore
#0 lore raw

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Best regards,
-Francesco

#1 lore raw
Quoted 4 lines · Francesco Gringoli

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Quoted 8 lines

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Because of spam attacks, editing is disabled by default.

Use
http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
to get access.

~Andrew

#2 lore raw
Quoted 12 lines · Andrew Cooper
Quoted 11 lines · Francesco Gringoli

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

Quoted 7 lines
Quoted 1 line

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Because of spam attacks, editing is disabled by default.

Use
http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
to get access.

FYI I saw the result of this and added write perms for Francesco on Saturday.

Ian.

#3 lore raw
In reply to Francesco Gringoli
Quoted 4 lines · Francesco Gringoli

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Quoted 8 lines

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Great job! Please do request access and update the wiki.

Anthony's branches are quite old now, many bugs have been discovered and fixed in the upstream Xen and Linux trees in the meantime. Although I expect that updating the Xen tree could be difficult at this point, it is probably worth it from the stability point of view.

#4 lore raw
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Francesco Gringoli

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

Quoted 8 lines
Quoted 6 lines

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Great job!

Yes, very nice.

Quoted 6 lines

Please do request access and update the wiki.

Anthony's branches are quite old now, many bugs have been discovered and fixed in the upstream Xen and Linux trees in the meantime. Although I expect that updating the Xen tree could be difficult at this point, it is probably worth it from the stability point of view.

I agree, ideally the tree would be rebased and whatever needed to be (and could be) would be upstreamed. I've no idea what the divergence is like, but at least in principal supporting a "new" platform with the modern mainline code ought to be loads easier than it was back when Anthony started work on this stuff.

Ian.

#5 lore raw
Quoted 26 lines · Ian Campbell
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Francesco Gringoli

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

Quoted 8 lines
Quoted 6 lines

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Great job!

Yes, very nice.

Quoted 6 lines

Please do request access and update the wiki.

Anthony's branches are quite old now, many bugs have been discovered and fixed in the upstream Xen and Linux trees in the meantime. Although I expect that updating the Xen tree could be difficult at this point, it is probably worth it from the stability point of view.

Quoted 5 lines

I agree, ideally the tree would be rebased and whatever needed to be (and could be) would be upstreamed. I've no idea what the divergence is like, but at least in principal supporting a "new" platform with the modern mainline code ought to be loads easier than it was back when Anthony started work on this stuff.

I updated the page. I'm starting working on latest Xen only (at the moment) to make it booting old Linux tree described in the page.

Keep you posted.
-Francesco

#6 lore raw
Quoted 2 lines · Francesco Gringoli

I updated the page. I'm starting working on latest Xen only (at the moment) to make it booting old Linux tree described in the page.

Awesome, thank you!
Ian

#7 lore raw
In reply to Francesco Gringoli

2014-02-18 15:48 GMT+04:00 Francesco Gringoli <[email protected]>:

Quoted 34 lines · Ian Campbell
Quoted 27 lines · Stefano Stabellini
Quoted 7 lines · Francesco Gringoli
Quoted 6 lines

Hello guys,

"building" on the great work done by Anthony I was finally able to boot xen and dom0 on the Chromebook with display support.

Basically everything was already done by Anthony, the only problem was the .config file of the dom0 missing some options and a couple of files in arch/arm/mach-exynos which were crashing the boot process (by reading the dtb). Actually I was not able to address the problem in a clever way, but I fixed it so boot does not crash (almost) anymore.

Quoted 8 lines
Quoted 6 lines

What I get is dom0 booting and working, boot logs appear on the display like when running archlinux natively. The keyboard does not work as pointed out by Anthony but external does, so it is possible to log in and check /proc/xen is populated. There are two main issues

1) sometimes (very few) boot crashes, but late, e.g., after 2 secs
2) after minutes something weird happens, and it is not anymore possible to cat files' content, although ls + cd etc keep working.

I would like to add some files and info to the old wiki page (http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook) but it seems I can not edit it.

Great job!

Yes, very nice.

Quoted 6 lines

Please do request access and update the wiki.

Anthony's branches are quite old now, many bugs have been discovered and fixed in the upstream Xen and Linux trees in the meantime. Although I expect that updating the Xen tree could be difficult at this point, it is probably worth it from the stability point of view.

Quoted 5 lines

I agree, ideally the tree would be rebased and whatever needed to be (and could be) would be upstreamed. I've no idea what the divergence is like, but at least in principal supporting a "new" platform with the modern mainline code ought to be loads easier than it was back when Anthony started work on this stuff.

Quoted 3 lines

I updated the page. I'm starting working on latest Xen only (at the moment) to make it booting old Linux tree described in the page.

Keep you posted.

Big kudos for your job, and thanks for keep working!

Quoted 1 line

-Francesco