Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-30 Thread Mario Marietto
g the step to create kernel.bin. No idea about how to do this. I don't even know if I can do that. On Sat, Dec 30, 2023 at 9:00 PM Julien Grall wrote: > > Hi, > > On 30/12/2023 12:44, Mario Marietto wrote: > >> https://src.fedoraproject.org/repo/pkgs/uboot-tools/u-boo

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-30 Thread Mario Marietto
en developers : It appears FreeBSD-CURRENT removed the last step converting the kernel file to kernel.bin.The patch can be readily rebased, but without kernel.bin that doesn't do too much. So,without a rebase of that patch the first option is not applicable. Even in this case,it seems that

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-28 Thread Mario Marietto
[Makefile:1287: prepare0] Errore 2 What should I do to compile it succesfully ? On Sat, Dec 23, 2023 at 7:36 PM Mario Marietto wrote: > > I've added this parameter to bootxen.source : > > guest_loglvl=all > > bootxen.source : > > mmc dev 1 > ext2load mmc 1:3 0x42

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-23 Thread Mario Marietto
_dispatch_src+0xf8 > #10 0xc043bf2c at ether_demux+0x1a4 > #11 0xc043d5e4 at ether_nh_input+0x480 > #12 0xc04447c0 at netisr_dispatch_src+0xf8 > #13 0xc043c404 at ether_input+0x50 > #14 0xc01c0838 at vtnet_rx_vq_process+0x880 > #15 0xc01b70d0 at vtpci_intx_intr+0xac > #16 0xc02b87f0 a

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-20 Thread Mario Marietto
oader found: > Invalid kernel > > Means that something is not right in the u-boot configuration or u-boot > build. Michal and Artem (CCed) might know more. From what I recall, > there was nothing special required to get u-boot.bin to boot as domU > kernel, so now I wonder if it is an

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-20 Thread Mario Marietto
_dispatch_src+0xf8 > #10 0xc043bf2c at ether_demux+0x1a4 > #11 0xc043d5e4 at ether_nh_input+0x480 > #12 0xc04447c0 at netisr_dispatch_src+0xf8 > #13 0xc043c404 at ether_input+0x50 > #14 0xc01c0838 at vtnet_rx_vq_process+0x880 > #15 0xc01b70d0 at vtpci_intx_intr+0xac > #16 0xc02b87

Re: How to boot FreeBSD for arm 32 bit as DomU with u-boot on my ARM Chromebook

2023-12-19 Thread Mario Marietto
u-boot.bin to boot as domU > kernel, so now I wonder if it is an ARMv7 vs. ARMv8 issue. > > Cheers, > > Stefano > > > On Tue, 19 Dec 2023, Mario Marietto wrote: > > I see that some other interesting files have been produced by u-boot > when I have compiled it

Re: xc_dom_guest_type: image not capable of booting inside a HV M container: Invalid kernel

2023-12-13 Thread Mario Marietto
12/11/2023 12:59 PM, Mario Marietto wrote: > > > root@marietto:/mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel > # file > /mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel/kernel > > > > > > ELF 32-bit LSB executable,ARM, EABI5 version

Re: xc_dom_guest_type: image not capable of booting inside a HV M container: Invalid kernel

2023-12-11 Thread Mario Marietto
Mario Marietto wrote: > Experiment n. 2 : > Below I have applied the zImage patch of Julien to the Elliott Mitchell > code : > > > https://xenbits.xen.org/gitweb/?p=people/julieng/freebsd.git;a=commit;h=12a7cb346b88c6d3f52a20b98f361dc62797fbcd > > and I've used the ke

Re: xc_dom_guest_type: image not capable of booting inside a HV M container: Invalid kernel

2023-12-11 Thread Mario Marietto
13.2-RELEASE-armv7.img -u 0 xl create freebsd.cfg xl console freebsd On Mon, Dec 11, 2023 at 7:41 PM Chuck Zmudzinski wrote: > On 12/11/2023 12:59 PM, Mario Marietto wrote: > > root@marietto:/mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel > # file > /mnt/zroo

Re: xc_dom_guest_type: image not capable of booting inside a HV M container: Invalid kernel

2023-12-11 Thread Mario Marietto
, 2023 at 6:23 PM Chuck Zmudzinski wrote: > On 12/11/2023 9:02 AM, Mario Marietto wrote: > > Hello. > > > > Finally I tried to recompile the FreeBSD kernel using the @Elliott > Mitchell <mailto:ehem+free...@m5p.com> code because I want to boot > FreeBSD as domU wi

xc_dom_guest_type: image not capable of booting inside a HV M container: Invalid kernel

2023-12-11 Thread Mario Marietto
Hello. Finally I tried to recompile the FreeBSD kernel using the @Elliott Mitchell code because I want to boot FreeBSD as domU with Xen installed on my Arm 32 bit Chromebook. Unfortunately it didn't work at all. Maybe I've missed something / I haven't understood well what to do. Please give me so

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-29 Thread Mario Marietto
y the patch that's inside the "submit" branch. On Wed, Nov 29, 2023 at 12:05 AM Elliott Mitchell wrote: > On Tue, Nov 28, 2023 at 04:10:50PM +0100, Roger Pau Monné wrote: > > On Tue, Nov 28, 2023 at 03:09:14PM +0100, Mario Marietto wrote: > > > For booting

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
For booting a FreeBSD kernel as a guest OS on XEN,should we install xen 4.18 from source ? On Tue, Nov 28, 2023 at 2:45 PM Roger Pau Monné wrote: > On Mon, Nov 27, 2023 at 03:04:30PM -0800, Elliott Mitchell wrote: > > BTW Roger Pau Monné, now that Xen 4.18 is out, take a look at the > > "royger"

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
oh sorry I'm missing the DESTDIR parameter : $ make -DNO_MODULES KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 DESTDIR=/build buildkernel On Tue, Nov 28, 2023 at 11:41 AM Mario Marietto wrote: > Hello. > > to try to compile the correct freebsd kernel that's recognized

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
$ umount /build $ mdconfig -d -u 0 Do you see errors ? some missing ? very thanks. On Tue, Nov 28, 2023 at 3:28 AM Stefano Stabellini wrote: > On Mon, 27 Nov 2023, Chuck Zmudzinski wrote: > > On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: > > > On 11/27/2023 7:45 AM, Mari

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Mario Marietto
Hello. I know two FreeBSD developers that can commit your patches,if they think that they are good. I could drop an email to them. I've hardly helped one of them with the testing when we have implemented the passthrough of a recent nvidia gpu on Linux. The second one is experienced with arm and vi

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Mario Marietto
6 AM Roger Pau Monné wrote: > On Mon, Nov 27, 2023 at 10:28:13AM +, Henry Wang wrote: > > +(xen-devel and Arm maintainers, including Julien) > > > > > On Nov 27, 2023, at 18:03, Mario Marietto > > > wrote: > > > > > > Hello. We have just vir

Re: [PATCH] arm/mm: add option to prefer IOMMU ops for DMA on Xen

2023-11-16 Thread Mario Marietto
xenstored.log ---> https://pastebin.ubuntu.com/p/T354ts33nP/ very thanks. On Thu, Nov 16, 2023 at 10:51 AM Mario Marietto wrote: > Hello to everyone. > > I'm trying to boot Linux 6.1.y as Xen dom0 on the Chromebook xe303c12, aka > Snow and configure and start a very basic domU gues

Re: [PATCH] arm/mm: add option to prefer IOMMU ops for DMA on Xen

2023-11-16 Thread Mario Marietto
bootxen.scr; source 0x5000 This is the memory available on the machine after having booted the machine ready for xen : # free -m totalusedfree shared buff/cache available Mem: 741 329 108 7 332 412 Swa

Re: Values generated by the ViryaOS uboot-script-gen do not work correctly on the Chromebook Snow

2023-11-15 Thread Mario Marietto
(offset + your new start and end memory address. Maybe they auto exclude each other ?) On Thu, Nov 16, 2023 at 12:49 AM Stefano Stabellini wrote: > On Wed, 15 Nov 2023, Chuck Zmudzinski wrote: > > On 11/14/2023 6:43 PM, Mario Marietto wrote: > > > I hope that the information

Re: [PATCH] arm/mm: add option to prefer IOMMU ops for DMA on Xen

2023-11-15 Thread Mario Marietto
---> So I plan to do some tests and see what DMA ops the other devices use if swiotlb-xen is disabled and also what DMA ops the other devices use when Linux runs on the Chromebook on bare metal without Xen. If these tests show the problem can be fixed by disabling swiotlb-xen with a Kconfig or com

Re: Values generated by the ViryaOS uboot-script-gen do not work correctly on the Chromebook Snow

2023-11-14 Thread Mario Marietto
ugging, so that I can see if there are any bugs with > uboot-script-gen. I cannot debug the script unless I figure out what the > problem is and the only way I can do that is with the binary sizes and > redoing all the steps by hand. > > The expected outcome is that once we resolve t

Re: Values generated by the ViryaOS uboot-script-gen do not work correctly on the Chromebook Snow

2023-11-14 Thread Mario Marietto
file > - the generate boot.source script > - the size of all the binaries specified in the imagebuilder config file > > On the other hand if 0x41e0-0x6000 is not a safe memory range to > use, then you need to specify a different memory range. > > Cheers, > > Stefano > >

Values generated by the ViryaOS uboot-script-gen do not work correctly on the Chromebook Snow

2023-11-13 Thread Mario Marietto
Hello. I'm trying to find an easier way to the problem that you can read here : https://github.com/mobile-virt/u-boot-chromebook-xe303c12/tree/chromebook/xen#starting-a-domu-guest where *Chuck* says : 1. Create the u-boot shell commands that will be used to boot Xen and dom0. Create a

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-11-02 Thread Mario Marietto
@Marek Marczykowski-Górecki : I've recompiled the kernel 6.6 on my ARM Chromebook to test if your patch helped to fix the "black screen" issue. And not,it does not work. Is this expected or is there something wrong with your patch ? On Thu, Nov 2, 2023 at 11:00 AM Marek Szyprowski wrote: > > On

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-11-01 Thread Mario Marietto
, > > > > On 31.10.2023 00:03, Mario Marietto wrote: > >> We are a team of linux enthusiasts who are trying to boot Xen on a > >> Samsung XE303C12 Chromebook aka "snow" following the suggestions in > >> the slide show presentation here: > >> htt

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-10-31 Thread Mario Marietto
Mario, > > I am adding xen-devel and a couple of other Xen maintainers that might > know how to help make progress on this issues. > > Replies inline below. > > > On Tue, 31 Oct 2023, Mario Marietto wrote: > > Hello, > > > > We are a team of linux enthus

Various problems for the Xen for XenGT code and guide.

2020-08-27 Thread Mario Marietto
Hello. I would like to pass the integrated gpu from the host os (ubuntu 20.04) to the windows 10 guest os with xen. This is because xen works great for me,better than qemu-kvm for my specific needs and because I have only two graphic cards. The nvidia rtx 2080 ti that I have already passed to the

config parsing error in disk specification: unknown value for format: near `hdb' in `/usr/share/ovmf/OVMF.fd,hdb,w'

2020-07-12 Thread Mario Marietto
Hello. I'm a new xen user. I'm learning how works the xen hypervisor that I have installed on ubuntu 20.04 with the command : apt install xen-hypervisor. I want to boot the phisycal installation of windows 10 x64 bit that I have on /dev/sdb,which belong to these partitions : root@ziomario-I9:/et