David Sarrazin
|
Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP Image
|
David Sarrazin
06/10/2022 4:59 PM
post121817
|
Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP Image
Hi,
The file you show is bios_root.build, and from the visible part on the screen, this is for creating a qnx6fs image.
qnx6fs images are created with the "mkqnx6fsimg" tool, not the mkifs tool. There should be several calls to mkifs or
mkqnx6fsimg to create the full output image. In the output you showd on the first post:
cat hypervisor-generic-arm.build >> hypervisor-board-specific.build
cat generated/ifs/hyp-bios_root.build hypervisor-board-specific.build hypervisor-common-arm.build hypervisor-common.
build > generated/ifs/hypervisor-FINAL-bios_root.build
mkifs -vvv -r../install generated/ifs/hypervisor-FINAL-bios_root.build generated/ifs/hypervisor-ifs-bios_root.bin
Line 7: Unknown attribute: num_sectors=409600.
This won't work, because some of the input files to hypervisor-FINAL-bios_root.build are not IFS build files, but are
qnx6fs build files.
that line should probably be a call to mkifs using only hypervisor-board-specific.build and then another call to
mkqnx6fsimg.
I'm not familiar with this particular BSP, so I would ask whoever provided you this BSP for help about why the makefiles
seem to be invoking the wrong programs.
> No, we didn't modify the BSP Buildfile for this.
> and which tool are you talking about?
>
> Which buildfiles are we supposed to modify as we are building only for
> Hypervisor & 1 QNX Neutrino RTOS as a Guest.
>
> One more thing, we didn't have download "Tools-FileSystem Image
> Utilities(windows 64-bit)" in QNX Software Center,& when we install that Tools
> & try to build the HHBSP in that Case, we get different errors like asmodff.
> def, recurse.mk etc.
>
> So, do we require those Tools Or not? And do we require any other software to
> download from Software Center?
>
> Here,i'm attaching the things we've downloaded in QNX Software Center.Pls
> comment if any other thing is also required.
>
> Thank You
Regards,
David
|
|
|