On Thu, 16 Nov 2023, Chuck Zmudzinski wrote:
> On 11/15/2023 7:07 PM, Mario Marietto wrote:
> > It didn't work. This is the scr file generated.
> > 
> > ext2load mmc 1:3 0x51000000 zImage-6.6.0-xen-iommu-dma-on-xen
> > ext2load mmc 1:3 0x60000000 xen-4.17-armhf.ub
> 
> When you created the xen-4.17-armhf.ub file, do you remember what
> the LOADADDR and entry point was? In my case those needed to be offset by 
> 0x4000.
> 
> So the uboot version of Xen would created with with the offset of 0x4000 for
> the LOADADDR and entry point from where the script loads it:
> 
> mkimage -A arm -T kernel -C none -a 0x60004000 -e 0x60004000 -d 
> xen-4.17-armhf xen-4.17-armhf.ub
> 
> That is what has been working in my case.

Also Michal just added support for the "bootz" BOOT_CMD in ImageBuilder
which works for arm32 and takes away the need for creating the .ub file.

Reply via email to